/* FONTS — self-hosted (Montserrat and Playfair Display, SIL Open Font License) */
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 200 600; font-display: swap; src: url(../fonts/montserrat-normal-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 200 600; font-display: swap; src: url(../fonts/montserrat-normal-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Playfair Display'; font-style: italic; font-weight: 400; font-display: swap; src: url(../fonts/playfair-display-italic-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Playfair Display'; font-style: italic; font-weight: 400; font-display: swap; src: url(../fonts/playfair-display-italic-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Playfair Display'; font-style: normal; font-weight: 400 600; font-display: swap; src: url(../fonts/playfair-display-normal-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Playfair Display'; font-style: normal; font-weight: 400 600; font-display: swap; src: url(../fonts/playfair-display-normal-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --navy: #2b3a5c;
  --navy-dark: #26345a;
  --gold: #b8924a;
  --cream: #f6f2ea;
  --cream-light: #fdfbf7;
  --blush: #ebd8d0;
  --text: #4a4f5c;
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'Montserrat', Arial, sans-serif;
  /* Content width: 1280px centred, with a minimum 80px margin on each side */
  --gutter: max(80px, calc((100% - 1280px) / 2));
  --header-h: 84px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { font-family: var(--sans); color: var(--text); background: var(--cream-light); line-height: 1.7; font-weight: 300; overflow-x: clip; overflow-wrap: break-word; }
img, picture { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
section[id] { scroll-margin-top: var(--header-h); }
/* Text for search engines and screen readers only */
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

h1, h2, h3 { font-family: var(--serif); color: var(--navy); font-weight: 500; }
h2 { font-size: 32px; text-align: center; }
h2::after { content: ""; display: block; width: 48px; height: 2px; background: var(--gold); margin: 14px auto 0; }
h2.title-left { text-align: left; }
h2.title-left::after { margin-left: 0; }

.eyebrow { display: block; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); font-weight: 500; }
.eyebrow.center { text-align: center; margin-top: 14px; }

.btn { display: inline-block; background: var(--gold); color: #fff; font-size: 13px; letter-spacing: .15em; text-transform: uppercase; font-weight: 500; padding: 16px 30px; border: 0; cursor: pointer; transition: background .2s; font-family: var(--sans); }
.btn:hover { background: #a37f3a; }
.btn-sm { padding: 12px 22px; font-size: 12px; }

/* Sections share the same content width on wide screens */
.header, .hero, .areas, .sobre, .abordagem, .contacto, .footer { padding-left: var(--gutter); padding-right: var(--gutter); }

/* HEADER */
.header { position: sticky; top: 0; z-index: 50; display: flex; justify-content: space-between; align-items: center; padding-top: 14px; padding-bottom: 14px; background: var(--navy-dark); }
.logo { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.logo-mark { height: 56px; width: auto; display: block; }
.logo-word { height: 34px; width: auto; display: block; }
.logo.light .logo-mark { height: 60px; }
.logo.light .logo-word { height: 37px; }
.nav { display: flex; align-items: center; gap: clamp(20px, 2.2vw, 32px); font-size: 16px; color: #cfd4e0; white-space: nowrap; }
.nav .btn-sm { font-size: 12px; }
.nav a:not(.btn):hover { color: var(--gold); }
.menu-toggle { display: none; }

/* HERO */
.hero { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 60px; padding-top: 60px; padding-bottom: 80px; }
.hero-text .eyebrow { font-size: 15px; letter-spacing: .2em; margin-bottom: 24px; }
/* The client's quote is styled as the headline; the h1 (for SEO) is the .visually-hidden element before it */
.hero-quote { font-family: var(--serif); color: var(--navy); font-size: 40px; font-weight: 400; line-height: 1.3; margin-bottom: 20px; }
.hero-quote em { color: var(--gold); }
.hero .hero-autor { font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); font-weight: 500; margin-bottom: 32px; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; }
.modes { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.modes li { display: flex; align-items: center; gap: 8px; font-size: 16px; color: var(--text); }
.modes svg { width: 18px; height: 18px; color: var(--gold); flex: none; }
.modes li + li::before { content: "·"; color: var(--gold); font-weight: 600; margin-right: 6px; }
.hero-img img { width: 100%; height: 540px; object-fit: cover; object-position: center 6%; border-radius: 16px; box-shadow: 0 20px 50px rgba(43, 58, 92, .18); }

/* PRACTICE AREAS (cream background, alternating with the light background) */
.areas { padding-top: 90px; padding-bottom: 90px; background: var(--cream); }
.areas-intro { max-width: 680px; margin: 20px auto 0; text-align: center; font-size: 16px; line-height: 1.7; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 56px; }
.card { background: #fff; padding: 28px 26px; display: flex; flex-direction: column; border: 1px solid rgba(184, 146, 74, .08); transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(43, 58, 92, .1); }
.card .c-icon { color: var(--gold); font-size: 16px; margin-bottom: 14px; }
.card h3 { font-size: 17px; margin-bottom: 8px; }
.card .c-sub { font-family: var(--serif); font-style: italic; color: var(--gold); font-size: 14px; margin-bottom: 10px; }
.card p { font-size: 15px; line-height: 1.7; flex: 1; }
.card button { align-self: flex-start; margin-top: 18px; background: none; border: 0; color: var(--gold); font-size: 11px; letter-spacing: .15em; text-transform: uppercase; font-weight: 600; cursor: pointer; font-family: var(--sans); }
.card button:hover { color: var(--navy); }

/* ABOUT */
.sobre { display: grid; grid-template-columns: 5fr 7fr; gap: 56px 80px; padding-top: 90px; padding-bottom: 90px; align-items: center; }
.sobre-img { overflow: hidden; border-radius: 16px; }
.sobre-img img { width: 100%; height: 640px; object-fit: cover; object-position: center 12%; }
.sobre-text .eyebrow { font-size: 13px; letter-spacing: .3em; font-weight: 600; margin-bottom: 20px; }
.sobre-text h2 { font-size: clamp(30px, calc(4vw - 12px), 44px); font-weight: 400; line-height: 1.2; margin-bottom: 32px; }
.sobre-text h2 em { color: var(--gold); }
.sobre-text h2::after { width: 70px; height: 1px; margin-top: 30px; }
.sobre-text p { font-size: 17px; line-height: 1.9; margin-bottom: 18px; }
.values { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; padding-top: 40px; border-top: 1px solid #e7dfd0; }
.value h3 { font-size: 24px; font-weight: 400; color: var(--gold); line-height: 1.2; margin-bottom: 8px; }
.value p { font-size: 15px; margin: 0; line-height: 1.7; }

/* APPROACH (cream background) */
.abordagem { padding-top: 90px; padding-bottom: 90px; background: var(--cream); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.steps article { background: #fff; padding: 28px; border: 1px solid #eee7d9; box-shadow: 0 4px 16px rgba(0, 0, 0, .03); }
.steps h3 { font-family: var(--sans); font-size: 19px; font-weight: 600; margin-bottom: 10px; }
.steps p { font-size: 17px; }

/* CONTACT */
.contacto { padding-top: 90px; padding-bottom: 90px; }
.contacto-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 80px; max-width: 1200px; margin: 56px auto 0; align-items: start; }
.contacto-info > p { font-size: 17px; line-height: 1.8; margin-bottom: 36px; }
.contacto-info li { display: flex; gap: 18px; margin-bottom: 28px; align-items: flex-start; }
.ci { color: var(--gold); width: 26px; text-align: center; font-size: 20px; margin-top: 6px; }
.ci svg { display: block; margin: 0 auto; }
.contacto-info small { display: block; font-size: 13px; letter-spacing: .15em; text-transform: uppercase; color: var(--gold); font-weight: 500; }
.contacto-info strong { font-weight: 400; font-size: 19px; color: var(--navy); }
.contacto-info .modalidades { display: flex; flex-wrap: wrap; gap: 0 40px; list-style: disc; padding-left: 20px; }
.contacto-info .modalidades li { display: list-item; margin-bottom: 0; }
.contacto-info .modalidades li::marker { color: var(--gold); }
.contacto-info .social-contact { margin-top: 8px; gap: 14px; }
.contacto-info .social-contact a { width: 44px; height: 44px; background: var(--gold); }
.contacto-info .social-contact a svg { width: 18px; height: 18px; }
.contacto-info .social-contact a:hover { background: var(--navy); }
.form { background: #fff; padding: 36px; box-shadow: 0 8px 30px rgba(43, 58, 92, .08); display: flex; flex-direction: column; gap: 18px; }
.form label { font-size: 11px; letter-spacing: .15em; text-transform: uppercase; font-weight: 600; color: var(--navy); display: flex; flex-direction: column; gap: 8px; }
.form input, .form textarea, .form select { min-width: 0; max-width: 100%; background: #f3f0ea; border: 1px solid transparent; padding: 12px 14px; font: 300 14px var(--sans); color: var(--navy); resize: vertical; }
.form input:focus, .form textarea:focus, .form select:focus { outline: none; border-color: var(--gold); }
.form select { appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 36px; text-overflow: ellipsis; background-image: url(../img/icons/chevron-down.svg); background-repeat: no-repeat; background-position: right 14px center; }
.form .select-native { display: none; }
.select-ui { position: relative; min-width: 0; }
.select-btn { display: block; width: 100%; background: #f3f0ea url(../img/icons/chevron-down.svg) no-repeat right 14px center; border: 1px solid transparent; padding: 12px 36px 12px 14px; font: 300 14px/1.4 var(--sans); letter-spacing: normal; text-transform: none; text-align: left; color: var(--navy); cursor: pointer; }
.select-btn:focus { outline: none; border-color: var(--gold); }
.select-list { position: absolute; z-index: 5; top: 100%; left: 0; right: 0; max-height: min(320px, 60vh); margin: 4px 0 0; padding: 0; list-style: none; overflow-y: auto; background: #fff; border: 1px solid var(--gold); box-shadow: 0 8px 24px rgba(43, 58, 92, .18); font: 300 14px/1.4 var(--sans); letter-spacing: normal; text-transform: none; color: var(--navy); }
.select-list li { min-height: 44px; padding: 11px 14px; cursor: pointer; }
.select-list li:hover, .select-list li.active { background: #f3f0ea; }
.select-list li[aria-selected="true"] { font-weight: 500; }
.form-choice { border: 0; padding: 0; margin: 0; min-width: 0; }
.form-choice legend { padding: 0; margin-bottom: 8px; font-size: 11px; letter-spacing: .15em; text-transform: uppercase; font-weight: 600; color: var(--navy); }
.form .choices { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.form .choice { flex-direction: row; align-items: center; gap: 10px; font: 300 14px var(--sans); letter-spacing: normal; text-transform: none; color: var(--navy); cursor: pointer; }
.form .choice input { appearance: none; -webkit-appearance: none; flex: none; display: grid; place-content: center; width: 16px; height: 16px; margin: 0; padding: 0; background: #fff; border: 1px solid var(--gold); border-radius: 50%; cursor: pointer; }
.form .choice input::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); transform: scale(0); transition: transform .15s; }
.form .choice input:checked::before { transform: scale(1); }
.form .choice input:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.form .consent { flex-direction: row; align-items: flex-start; gap: 10px; font-size: clamp(9px, .7vw, 10px); letter-spacing: .05em; line-height: 1.6; cursor: pointer; }
.form .consent input { appearance: none; -webkit-appearance: none; flex: none; display: grid; place-content: center; width: 16px; height: 16px; margin: 0; padding: 0; background: #fff; border: 1px solid var(--gold); border-radius: 2px; cursor: pointer; }
.form .consent input::before { content: ""; width: 4px; height: 8px; margin-top: -2px; border: solid var(--gold); border-width: 0 2px 2px 0; transform: rotate(45deg) scale(0); transition: transform .15s; }
.form .consent input:checked::before { transform: rotate(45deg) scale(1); }
.form .consent input:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.form .consent a { color: var(--gold); text-decoration: underline; }
.form .opt { font-weight: 300; letter-spacing: .05em; text-transform: none; color: var(--text); }
.form .req { color: var(--gold); font-weight: 600; letter-spacing: 0; }
.form .btn { align-self: flex-start; }
.form .btn:disabled { background: #cfc8b8; color: #fff; cursor: not-allowed; }
.form-status { font-size: 15px; line-height: 1.6; color: var(--navy); background: #f3f0ea; border-left: 3px solid var(--gold); padding: 12px 14px; }
.form-status a { color: var(--gold); font-weight: 500; text-decoration: underline; overflow-wrap: anywhere; }
.hp { position: absolute; left: -9999px; }
.req-note { font-size: 13px; color: var(--text); margin-bottom: -4px; }
.req-note .req { color: var(--gold); font-weight: 600; }
.wa-note { display: flex; align-items: center; gap: 8px; font-size: 14px; margin-top: -4px; }
.wa-ico { flex: none; width: 16px; height: 16px; }
.wa-note a { color: var(--gold); font-weight: 500; text-decoration: underline; }

/* FOOTER */
.footer { background: var(--navy-dark); color: #cfd4e0; padding-top: 36px; padding-bottom: 18px; }
.footer-row { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 24px; }
.footer-nav { display: flex; gap: 32px; font-size: 13px; }
.footer-nav a:hover { color: var(--gold); }
.social { display: flex; gap: 10px; }
.social a { width: 28px; height: 28px; border-radius: 50%; background: rgba(255, 255, 255, .12); display: flex; align-items: center; justify-content: center; font-size: 11px; color: #fff; }
.social a svg { display: block; }
.social a:hover { background: var(--gold); }
.footer-legal { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; margin-top: 24px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .12); }
.copy { text-align: left; font-size: 11px; letter-spacing: .1em; line-height: 1.8; color: rgba(255, 255, 255, .45); }
.legal-right { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; }
.legal-links { display: flex; gap: 24px; font-size: 13px; flex-wrap: wrap; }
.legal-links a:hover { color: var(--gold); }
.lre img { height: 32px; width: auto; opacity: .9; transition: opacity .2s; }
.lre:hover img { opacity: 1; }
.credit { text-align: center; font-size: 11px; letter-spacing: .1em; color: rgba(255, 255, 255, .45); margin-top: 14px; }
.credit a:hover { color: var(--gold); }

/* LEGAL PAGES */
.legal { max-width: 820px; margin: 0 auto; padding: 80px 24px 100px; }
.legal h1 { font-size: 38px; margin-bottom: 8px; }
.legal .updated { font-size: 13px; color: var(--gold); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 40px; display: block; }
.legal h2 { font-size: 20px; text-align: left; margin: 36px 0 12px; }
.legal h2::after { display: none; }
.legal p, .legal li { font-size: 15px; margin-bottom: 12px; }
.legal ul { list-style: disc; padding-left: 20px; margin-bottom: 12px; }
.legal a:not(.btn) { color: var(--gold); text-decoration: underline; }
.legal .btn { margin-top: 32px; }

/* MODAL */
.overlay { position: fixed; inset: 0; background: rgba(43, 58, 92, .75); display: none; align-items: center; justify-content: center; padding: 24px; z-index: 100; }
.overlay.open { display: flex; }
.modal { position: relative; background: var(--cream-light); max-width: 960px; width: 100%; max-height: 90vh; max-height: 90dvh; overflow-y: auto; padding: 56px; box-shadow: 0 30px 80px rgba(0, 0, 0, .35); }
.close { position: absolute; top: 14px; right: 18px; background: none; border: 0; font-size: 26px; color: var(--navy); cursor: pointer; line-height: 1; }
.m-icon { color: var(--gold); font-size: 20px; }
.modal h3 { font-size: 30px; margin: 8px 0 6px; }
.m-sub { font-family: var(--serif); font-style: italic; color: var(--gold); font-size: 19px; margin-bottom: 24px; }
.m-body p { font-size: 17px; margin-bottom: 16px; }
.m-actions { display: flex; justify-content: space-between; align-items: center; margin-top: 24px; padding-top: 20px; border-top: 1px solid #eee7d9; }
.m-nav button { background: none; border: 0; color: var(--gold); font-size: 13px; letter-spacing: .15em; text-transform: uppercase; font-weight: 600; cursor: pointer; margin-left: 18px; font-family: var(--sans); }

/* RESPONSIVE — tablet and phone (touch screens) */
/* Narrow desktop: smaller margins so the logo does not touch the menu and the content has more width */
@media (max-width: 1200px) {
  :root { --gutter: 40px; }
}

@media (max-width: 1024px) {
  .header, .hero, .areas, .sobre, .abordagem, .contacto, .footer { padding-left: 32px; padding-right: 32px; }
  body.menu-open { overflow: hidden; }

  /* ☰ menu: opens below the header and fills the rest of the screen */
  .menu-toggle { flex: none; display: flex; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; margin-right: -10px; padding: 0 10px; background: none; border: 0; cursor: pointer; }
  .menu-toggle span { display: block; height: 2px; background: #fff; transition: transform .25s, opacity .2s; }
  body.menu-open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  body.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
  body.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav { position: fixed; top: var(--header-h); bottom: 0; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 12px 32px 32px; background: var(--navy-dark); font-size: 17px; white-space: normal; overflow-y: auto; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s; }
  body.menu-open .nav { transform: none; opacity: 1; visibility: visible; }
  .nav a:not(.btn) { padding: 18px 4px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
  .nav .btn { margin-top: 24px; text-align: center; padding: 16px 22px; font-size: 13px; }

  /* Sections */
  /* Photo beside the text: a portrait photo at full width would crop the face */
  .hero { gap: 32px; }
  .sobre { gap: 40px 32px; }
  .contacto-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .hero-img img, .sobre-img img { height: auto; aspect-ratio: 4 / 5; }
  .hero-quote { font-size: clamp(26px, 3.7vw, 40px); }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: 1fr; }
  .sobre-text h2 { font-size: clamp(28px, 3.7vw, 38px); }

  /* Tap targets of at least ~44px */
  .card button { font-size: 12px; margin-top: 8px; padding: 16px 0 12px; }
  .footer-nav a, .legal-links a { display: inline-block; min-width: 44px; padding: 12px 0; }
  .lre { display: block; padding: 6px 0; }
  .social a { width: 44px; height: 44px; }
  .form .choice { min-height: 44px; }
  .form .consent { font-size: 12px; }
  .m-nav button { font-size: 13px; padding: 14px 0; }
  .close { top: 8px; right: 10px; width: 44px; height: 44px; }
}

@media (max-width: 640px) {
  :root { --header-h: 68px; }

  /* Header */
  .header { padding: 12px 20px; }
  .logo { gap: 10px; }
  .logo-mark { height: 44px; }
  .logo-word { height: 27px; }
  .logo.light .logo-mark { height: 50px; }
  .logo.light .logo-word { height: 31px; }
  .nav { padding: 12px 20px 32px; }

  /* Sections */
  .hero, .sobre, .areas, .abordagem, .contacto, .footer { padding-left: 20px; padding-right: 20px; }
  .hero, .sobre { grid-template-columns: minmax(0, 1fr); }
  .hero { padding-top: 28px; padding-bottom: 48px; gap: 28px; }
  .hero-img { order: -1; }
  .hero-quote { font-size: 28px; }
  .hero-cta .btn { flex: 1 1 100%; text-align: center; }
  .hero-img, .sobre-img { width: 100%; max-width: 440px; margin-left: auto; margin-right: auto; }
  .hero-img img, .sobre-img img { height: 340px; }
  .sobre, .areas, .abordagem, .contacto { padding-top: 56px; padding-bottom: 56px; }
  h2 { font-size: 27px; }
  .eyebrow { font-size: 12px; line-height: 1.7; }
  .sobre { gap: 28px; }
  .sobre-text p { font-size: 17px; }
  .sobre-text h2 { font-size: 32px; }
  .value h3 { font-size: 22px; }
  .cards, .values { grid-template-columns: 1fr; }
  .cards { margin-top: 36px; }
  .card { padding: 24px 22px; }
  .card h3 { font-size: 19px; }
  .card .c-sub { font-size: 15px; }
  .steps article { padding: 22px; }
  .steps h3 { font-size: 18px; }

  /* Contact */
  .contacto-grid { margin-top: 36px; gap: 32px; }
  .contacto-grid > *, .contacto-info li > div { min-width: 0; }
  .contacto-info > p { font-size: 17px; margin-bottom: 28px; }
  .contacto-info strong { font-size: 18px; overflow-wrap: anywhere; }
  .form { padding: 24px 20px; }
  .form label, .form-choice legend { font-size: 12px; }
  .form input, .form textarea, .form select { font-size: 16px; padding: 14px; }
  .form select { padding-right: 36px; }
  .select-btn { font-size: 16px; padding: 14px 36px 14px 14px; }
  .select-list { font-size: 16px; }
  .form .choice { font-size: 16px; }
  .form .choice input { width: 20px; height: 20px; padding: 0; }
  .form .choice input::before { width: 10px; height: 10px; }
  .form .consent input { width: 20px; height: 20px; padding: 0; }
  .form .consent input::before { width: 5px; height: 10px; }
  .form .btn { align-self: stretch; text-align: center; }
  .wa-note { font-size: 15px; }

  /* Footer */
  .footer { padding-top: 32px; }
  .footer-row { flex-direction: column; align-items: flex-start; }
  .footer-nav { flex-wrap: wrap; gap: 0 24px; font-size: 15px; }
  .legal-links { font-size: 14px; gap: 0 20px; }
  .legal-right { gap: 20px; }
  .copy { font-size: 12px; }

  /* Modal */
  .overlay { padding: 12px; align-items: flex-end; }
  .modal { padding: 28px 22px 24px; max-height: 92vh; max-height: 92dvh; }
  .modal h3 { font-size: 24px; padding-right: 36px; }
  .m-sub { font-size: 18px; }
  .m-body p { font-size: 17px; }
  .m-actions { flex-direction: column; gap: 14px; align-items: stretch; }
  .m-actions .btn { text-align: center; }
  .m-nav { display: flex; justify-content: space-between; }
  .m-nav button { margin-left: 0; }

  /* Legal pages */
  .legal { padding: 48px 20px 64px; }
  .legal h1 { font-size: 30px; }
}

/* Very narrow screens (foldable phones, watches, high zoom) */
@media (max-width: 320px) {
  .header { padding: 12px 14px; }
  .logo { gap: 6px; min-height: 44px; }
  .logo-mark { height: 34px; }
  .logo-word { height: 20px; }
  .nav { padding: 12px 14px 24px; }
  .hero, .sobre, .areas, .abordagem, .contacto, .footer { padding-left: 14px; padding-right: 14px; }
  .hero-quote { font-size: 24px; }
  .modes li + li::before { display: none; }
  .btn { padding: 14px 16px; letter-spacing: .1em; }
  .card, .steps article { padding: 18px; }
  .card h3 { font-size: 17px; }
  .form { padding: 18px 14px; }
  .overlay { padding: 6px; }
  .modal { padding: 24px 16px 18px; }
  .modal h3 { font-size: 18px; padding-right: 28px; }
  .legal { padding: 36px 14px 48px; }
}
