:root {
  --navy: #08263a;
  --navy-deep: #061e2f;
  --navy-soft: #163f58;
  --orange: #f4813a;
  --green: #08a84f;
  --green-dark: #078f44;
  --ice: #edf7fb;
  --text: #0c2940;
  --muted: #52697b;
  --line: #d7e2e8;
  --white: #fff;
  --max: 1200px;
  --shadow: 0 14px 36px rgba(5, 32, 49, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--text); background: var(--white); font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { max-width: 100%; display: block; }
.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 1000; padding: 12px 16px; background: #fff; border-radius: 8px; box-shadow: var(--shadow); }
.skip-link:focus { top: 16px; }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); box-shadow: 0 2px 18px rgba(5,32,49,.08); }
.header-inner { height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: inline-flex; flex-direction: column; align-items: center; text-decoration: none; line-height: 1; flex-shrink: 0; }
.brand-name { font-family: "Libre Baskerville", Georgia, serif; font-size: 25px; white-space: nowrap; }
.brand-name b { color: var(--orange); font-weight: 400; }
.brand-subtitle { margin-top: 10px; padding-inline: 28px; color: #547088; font-size: 10px; font-weight: 700; letter-spacing: .5em; }
.main-nav { display: flex; align-items: center; gap: 40px; }
.main-nav > a:not(.button) { text-decoration: none; font-size: 14px; font-weight: 700; }
.main-nav > a:not(.button):hover { color: var(--orange); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 11px; min-height: 48px; padding: 0 24px; border: 1px solid transparent; border-radius: 8px; text-decoration: none; font-weight: 800; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,.18); }
.button:focus-visible, a:focus-visible, summary:focus-visible, button:focus-visible { outline: 3px solid #ffb17e; outline-offset: 3px; }
.button-whatsapp { background: var(--green); color: #fff; }
.button-whatsapp:hover { background: var(--green-dark); }
.button-large { min-height: 62px; padding-inline: 28px; font-size: 17px; }
.wa-icon { display: inline-grid; place-items: center; width: 25px; height: 25px; border: 2px solid currentColor; border-radius: 50%; font-size: 0; }
.wa-icon::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(30deg); }
.menu-toggle { display: none; padding: 8px; border: 0; background: transparent; }
.menu-toggle span { display: block; width: 26px; height: 2px; margin: 5px; background: var(--navy); }

.hero { position: relative; min-height: 640px; overflow: hidden; color: #fff; background: var(--navy-deep); }
.hero-image { position: absolute; inset: 0; background-image: url("assets/metalurgico-hero.png"); background-size: cover; background-position: center; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,29,45,.97) 0%, rgba(5,29,45,.88) 37%, rgba(5,29,45,.16) 68%, rgba(5,29,45,.04) 100%); }
.hero-inner { position: relative; min-height: 640px; display: flex; align-items: center; }
.hero-copy { width: min(570px, 52%); padding-block: 68px; }
.eyebrow { display: inline-block; margin: 0 0 18px; padding: 8px 13px; border: 1px solid var(--orange); border-radius: 5px; color: var(--orange); font-size: 13px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 22px; font-size: clamp(44px, 5vw, 70px); line-height: .98; letter-spacing: -.055em; }
h1 em, .final-cta h2 em { color: var(--orange); font-style: normal; }
.hero-text { max-width: 560px; margin-bottom: 28px; color: #edf5f9; font-size: 18px; line-height: 1.55; }
.legal-note { margin: 15px 0 0; color: #d5e0e6; font-size: 13px; }

.trust-strip { background: var(--ice); border-bottom: 1px solid #d9e8ee; }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); min-height: 116px; }
.trust-item { display: flex; align-items: center; justify-content: center; gap: 24px; padding: 26px; }
.trust-item + .trust-item { border-left: 1px solid #bfd0d9; }
.trust-item p { margin: 0; font-size: 15px; }
.line-icon { color: #df4c18; font-size: 36px; line-height: 1; }

.section { padding: 80px 0; }
.section-tint, .section-faq { background: linear-gradient(125deg, #f4fafc, #e7f4fa); }
.accent-line { display: block; width: 52px; height: 4px; margin-bottom: 19px; border-radius: 99px; background: var(--orange); }
h2 { margin-bottom: 10px; font-size: clamp(34px, 4vw, 51px); line-height: 1.08; letter-spacing: -.045em; }
.section-intro { max-width: 800px; margin-bottom: 38px; color: var(--muted); font-size: 18px; }
.cards-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.info-card { min-height: 232px; padding: 28px; border: 1px solid var(--line); border-radius: 9px; background: #fff; box-shadow: 0 8px 24px rgba(8,38,58,.04); }
.card-icon { display: block; min-height: 48px; color: #df4c18; font-size: 42px; line-height: 1; }
.info-card h3 { margin: 18px 0 9px; font-size: 18px; }
.info-card p { margin: 0; color: var(--muted); font-size: 14px; }

.documents-layout { display: grid; grid-template-columns: .95fr 1.25fr; align-items: center; gap: 80px; }
.document-list { margin: 0; padding: 0 0 0 60px; border-left: 1px solid #c1d4df; list-style: none; }
.document-list li { display: flex; align-items: center; gap: 18px; padding: 10px 0; }
.document-icon { display: grid; place-items: center; flex: 0 0 48px; width: 48px; height: 48px; border-radius: 50%; background: #fff; color: var(--navy-soft); font-size: 22px; }
.document-list strong, .document-list small { display: block; }
.document-list small { margin-top: 3px; color: var(--muted); font-size: 13px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 42px 0 0; padding: 0; list-style: none; }
.steps li { position: relative; display: grid; grid-template-columns: 48px 1fr; gap: 18px; padding-right: 54px; }
.steps li:not(:last-child)::after { content: "›"; position: absolute; right: 24px; top: 18px; color: #b9cbd6; font-size: 42px; font-weight: 200; }
.step-number { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 800; }
.steps h3 { margin: 4px 0 7px; font-size: 17px; }
.steps p { margin: 0; color: var(--muted); font-size: 14px; }

.faq-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; align-items: start; }
.faq-list details { margin-bottom: 10px; border: 1px solid #d5e3e9; border-radius: 6px; background: #fff; overflow: hidden; }
.faq-list summary { position: relative; padding: 17px 52px 17px 22px; font-weight: 700; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 20px; top: 13px; color: var(--navy); font-size: 24px; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { margin: 0; padding: 0 22px 20px; color: var(--muted); font-size: 14px; }

.final-cta { padding: 48px 0; color: #fff; background: linear-gradient(110deg, #07304a, #062237); }
.final-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 42px; }
.final-cta h2 { margin-bottom: 8px; font-size: clamp(31px, 3.4vw, 46px); }
.final-cta p { max-width: 600px; margin: 0; color: #d7e4eb; }
.final-cta .button { flex-shrink: 0; }

.site-footer { position: relative; color: #e4eef3; background: linear-gradient(135deg, #061f31 0%, #041927 100%); }
.site-footer::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: linear-gradient(90deg, var(--orange), #f6aa73 42%, transparent 80%); }
.footer-grid { display: grid; grid-template-columns: 1.05fr 1.45fr 1.15fr 1.45fr; gap: 0; padding-block: 58px 46px; }
.footer-grid > div { min-width: 0; padding: 0 32px; }
.footer-grid > div:first-child { padding-left: 0; }
.footer-grid > div + div { border-left: 1px solid rgba(255,255,255,.2); }
.brand-light { color: #fff; align-items: flex-start; }
.brand-light .brand-subtitle { color: #a8bac6; padding-inline: 23px 0; }
.footer-brand p { max-width: 220px; margin: 25px 0 22px; color: #bdcdd7; font-size: 13px; line-height: 1.65; }
.footer-whatsapp { display: inline-flex; align-items: center; gap: 8px; padding: 9px 13px; border: 1px solid rgba(255,255,255,.18); border-radius: 7px; color: #fff; font-size: 11px; font-weight: 700; text-decoration: none; transition: border-color .2s ease, background .2s ease; }
.footer-whatsapp span { color: #3bd879; }
.footer-whatsapp:hover { border-color: rgba(59,216,121,.7); background: rgba(59,216,121,.08); }
.footer-column h2 { display: flex; align-items: center; gap: 9px; margin-bottom: 23px; color: #fff; font-size: 15px; letter-spacing: 0; }
.footer-heading-icon { color: var(--orange); font-size: 18px; font-weight: 400; }
.footer-column address, .footer-column > a { display: block; margin-bottom: 20px; color: #c8d6de; font-size: 12px; font-style: normal; text-decoration: none; overflow-wrap: normal; }
.footer-column address strong, .footer-column address span { display: block; }
.footer-column address strong { margin-bottom: 5px; color: #fff; font-size: 12px; }
.footer-column address span { color: #aebfca; line-height: 1.55; }
.footer-detail small, .footer-detail strong { display: block; }
.footer-detail small { margin-bottom: 4px; color: #839ba9; font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.footer-detail strong { color: #dce7ed; font-size: 12px; line-height: 1.55; overflow-wrap: anywhere; }
.footer-detail:last-child strong { font-size: 10.5px; letter-spacing: -.01em; white-space: nowrap; }
.footer-column a:hover { color: #fff; text-decoration: underline; }
.social-links > a { display: flex; align-items: center; gap: 11px; }
.social-links > a span:last-child { min-width: 0; overflow-wrap: anywhere; }
.social-links small { display: block; margin-bottom: 2px; color: #839ba9; font-size: 9px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.social-icon { display: grid; place-items: center; flex: 0 0 28px; width: 28px; height: 28px; border: 1px solid rgba(244,129,58,.65); border-radius: 50%; color: var(--orange); font-size: 14px; }
.play-icon { padding-left: 2px; font-size: 9px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-block: 20px 24px; border-top: 1px solid rgba(255,255,255,.13); color: #849aa7; font-size: 10px; }
.footer-bottom nav { display: flex; align-items: center; gap: 11px; }
.footer-bottom > span { display: block; min-width: 0; max-width: 100%; line-height: 1.55; }
.footer-bottom a { color: #aebfca; text-decoration: none; }
.footer-bottom a:hover { color: #fff; text-decoration: underline; }
.floating-whatsapp { position: fixed; right: 24px; bottom: 24px; z-index: 40; display: none; place-items: center; width: 58px; height: 58px; border: 2px solid #fff; border-radius: 50%; background: var(--green); color: #fff; box-shadow: 0 8px 24px rgba(0,0,0,.22); text-decoration: none; font-size: 0; opacity: 0; visibility: hidden; transform: translateY(14px); pointer-events: none; transition: opacity .2s ease, transform .2s ease, visibility .2s ease; }
.floating-whatsapp.visible { opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto; }
.floating-whatsapp::after { content: ""; width: 13px; height: 13px; border: 3px solid #fff; border-left-color: transparent; border-radius: 50%; transform: rotate(35deg); }

@media (max-width: 980px) {
  .main-nav { gap: 20px; }
  .hero { min-height: 600px; }
  .hero-image { background-position: 63% center; }
  .hero-shade { background: linear-gradient(90deg, rgba(5,29,45,.96) 0%, rgba(5,29,45,.83) 48%, rgba(5,29,45,.22) 82%); }
  .hero-copy { width: 60%; }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .documents-layout, .faq-layout { gap: 40px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 36px 0; }
  .footer-grid > div:nth-child(3) { padding-left: 0; border-left: 0; }
}

@media (max-width: 760px) {
  .container { width: min(calc(100% - 32px), var(--max)); }
  .header-inner { height: 74px; }
  .brand-name { font-size: 20px; }
  .brand-subtitle { font-size: 8px; margin-top: 8px; }
  .menu-toggle { display: block; }
  .main-nav { position: absolute; top: 74px; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 12px 16px 18px; background: #fff; box-shadow: 0 12px 20px rgba(5,32,49,.12); }
  .main-nav.open { display: flex; }
  .main-nav > a:not(.button) { padding: 14px 8px; }
  .main-nav .button { margin-top: 8px; }
  .hero { min-height: auto; padding-top: 370px; }
  .hero-image { height: 370px; bottom: auto; background-size: cover; background-position: 66% center; }
  .hero-shade { background: linear-gradient(180deg, rgba(5,29,45,.06) 0, rgba(5,29,45,.2) 310px, var(--navy-deep) 370px, var(--navy-deep) 100%); }
  .hero-inner { min-height: 0; }
  .hero-copy { width: 100%; padding: 38px 0 48px; }
  .eyebrow { font-size: 11px; }
  h1 { font-size: clamp(40px, 12vw, 56px); }
  .hero-text { font-size: 16px; }
  .button-large { width: 100%; min-height: 58px; padding-inline: 18px; font-size: 15px; }
  .trust-grid { grid-template-columns: 1fr; padding-block: 10px; }
  .trust-item { justify-content: flex-start; padding: 18px 8px; }
  .trust-item + .trust-item { border-top: 1px solid #bfd0d9; border-left: 0; }
  .section { padding: 58px 0; }
  h2 { font-size: 34px; }
  .section-intro { font-size: 16px; }
  .cards-grid, .documents-layout, .steps, .faq-layout { grid-template-columns: 1fr; }
  .info-card { min-height: auto; }
  .documents-layout { gap: 28px; }
  .document-list { padding: 20px 0 0; border-top: 1px solid #c1d4df; border-left: 0; }
  .steps { gap: 28px; }
  .steps li { padding-right: 0; }
  .steps li::after { display: none; }
  .final-cta-inner { flex-direction: column; align-items: stretch; }
  .footer-grid { grid-template-columns: 1fr; gap: 0; padding-block: 28px 10px; }
  .footer-grid > div { padding: 30px 0; border-bottom: 1px solid rgba(255,255,255,.14); }
  .footer-grid > div + div { border-left: 0; }
  .footer-column h2 { margin-bottom: 18px; }
  .footer-column address, .footer-column > a { margin-bottom: 17px; }
  .footer-detail:last-child strong { font-size: 12px; white-space: normal; }
  .footer-bottom { flex-direction: column; align-items: flex-start; padding-block: 22px 28px; }
  .footer-bottom > span { padding-right: 16px; }
  .floating-whatsapp { display: grid; }
}

@media (max-width: 460px) {
  .hero { padding-top: 325px; }
  .hero-image { height: 325px; }
  .hero-shade { background: linear-gradient(180deg, rgba(5,29,45,.02), rgba(5,29,45,.2) 265px, var(--navy-deep) 325px, var(--navy-deep)); }
  .cards-grid { grid-template-columns: 1fr; }
  h1 { font-size: 42px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
