/* TuriAzores prototype. Palette measured on the logo: Atlantic blue, sun orange, hill green, sky. */
@font-face { font-family: 'Fira Sans'; font-weight: 400; font-style: normal; font-display: swap; src: url('/assets/fonts/fira-400.woff2') format('woff2'); }
@font-face { font-family: 'Fira Sans'; font-weight: 500; font-style: normal; font-display: swap; src: url('/assets/fonts/fira-500.woff2') format('woff2'); }
@font-face { font-family: 'Fira Sans'; font-weight: 600; font-style: normal; font-display: swap; src: url('/assets/fonts/fira-600.woff2') format('woff2'); }
@font-face { font-family: 'Fira Sans'; font-weight: 700; font-style: normal; font-display: swap; src: url('/assets/fonts/fira-700.woff2') format('woff2'); }

:root {
  --deep: #0B436C;
  --deeper: #082F4D;
  --sun: #FAAB1B;
  --sun-hover: #FFBC3F;
  --green: #3A9A3B;
  --green-text: #2B7A2C;
  --lime: #A3CB3B;
  --sky: #ABCBEB;
  --sky-soft: #DDEBF7;
  --ink: #12283B;
  --muted: #4A5D6E;
  --line: #C4D7EA;
  --white: #FCFDFE;
  --radius: 12px;
  --shadow: 0 10px 30px -12px rgba(11, 67, 108, .35);
  --ease: cubic-bezier(.16, 1, .3, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; font-family: 'Fira Sans', system-ui, sans-serif; font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--sky-soft); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--deep); text-underline-offset: 3px; }
a:hover { color: var(--green-text); }
h1, h2, h3 { line-height: 1.15; color: var(--deep); margin: 0 0 .5em; text-wrap: balance; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.25rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 1.2rem + 1.1vw, 2.1rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 600; }
p { margin: 0 0 1em; text-wrap: pretty; }
.icon { width: 1.2em; height: 1.2em; flex: none; }
.wrap { width: min(1240px, 100% - 40px); margin-inline: auto; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; border-radius: 4px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--deep); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { left: 12px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 46px; padding: .7em 1.4em; border-radius: 999px; font: 600 1rem/1.1 'Fira Sans', sans-serif; text-decoration: none; border: 2px solid transparent; cursor: pointer; white-space: nowrap; transition: background .2s var(--ease), transform .2s var(--ease), color .2s, border-color .2s; touch-action: manipulation; }
.btn:active { transform: translateY(1px) scale(.98); }
.btn-sun { background: var(--sun); color: var(--deeper); }
.btn-sun:hover { background: var(--sun-hover); color: var(--deeper); }
.btn-deep { background: var(--deep); color: #fff; }
.btn-deep:hover { background: var(--deeper); color: #fff; }
.btn-ghost { background: rgba(8, 47, 77, .35); color: #fff; border-color: rgba(255, 255, 255, .8); backdrop-filter: blur(4px); }
.btn-ghost:hover { background: rgba(8, 47, 77, .6); color: #fff; }
.btn-outline-deep { background: transparent; color: var(--deep); border-color: var(--deep); }
.btn-outline-deep:hover { background: var(--deep); color: #fff; }
.btn-block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; text-decoration: none; }
.link-arrow:hover .icon { transform: translateX(3px); }
.link-arrow .icon { transition: transform .2s var(--ease); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 3px solid var(--sun); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.brand img { height: 46px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a:not(.btn) { padding: 10px 12px; text-decoration: none; font-weight: 500; color: var(--deep); border-radius: 8px; }
.nav a:not(.btn):hover { background: var(--sky-soft); }
.nav a[aria-current="page"] { color: var(--green-text); box-shadow: inset 0 -3px 0 var(--green); border-radius: 0; }
.nav .btn { margin-left: 10px; }
.menu-toggle { display: none; background: none; border: 0; color: var(--deep); padding: 8px; cursor: pointer; }
.menu-toggle .icon { width: 30px; height: 30px; }
@media (max-width: 960px) {
  .menu-toggle { display: inline-flex; }
  .nav { position: absolute; inset: 72px 0 auto 0; flex-direction: column; align-items: stretch; background: var(--white); padding: 12px 20px 20px; border-bottom: 3px solid var(--sun); box-shadow: var(--shadow); display: none; }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 14px 8px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav a[aria-current="page"] { box-shadow: none; }
  .nav .btn { margin: 14px 0 0; }
  .brand img { height: 40px; }
}

/* Hero */
.hero { position: relative; min-height: min(86dvh, 760px); display: flex; align-items: flex-end; color: #fff; isolation: isolate; overflow: hidden; background: var(--deep); }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8, 47, 77, .88) 0%, rgba(8, 47, 77, .55) 45%, rgba(8, 47, 77, .05) 80%), linear-gradient(0deg, rgba(8, 47, 77, .6), transparent 45%); }
.hero-inner { padding: 72px 0 88px; }
.hero h1 { color: #fff; max-width: 21ch; font-size: clamp(2.1rem, 1.3rem + 2.6vw, 3.5rem); }
.hero .lead { font-size: 1.2rem; max-width: 46ch; color: #EAF3FB; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
@media (max-width: 640px) {
  .hero { min-height: 82dvh; }
  .hero::after { background: linear-gradient(0deg, rgba(8, 47, 77, .92) 10%, rgba(8, 47, 77, .55) 60%, rgba(8, 47, 77, .25)); }
  .hero-inner { padding: 48px 0 40px; }
  .hero .lead { font-size: 1.05rem; }
  .hero-actions .btn { flex: 1 1 100%; }
}

/* Sections */
.section { padding: clamp(56px, 7vw, 96px) 0; }
.section-sky { background: var(--sky-soft); }
.section-white { background: var(--white); }
.section-deep { background: var(--deep); color: #E5EFF8; }
.section-deep h2, .section-deep h3 { color: #fff; }
.section-deep .sub { color: #C9DBEC; }
.section-sun { background: var(--sun); color: var(--deeper); }
.section-sun h2 { color: var(--deeper); }
.section-photo { position: relative; isolation: isolate; color: #fff; overflow: hidden; background: var(--deeper); }
.section-photo .bg, .page-hero.photo .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.section-photo::after { content: ''; position: absolute; inset: 0; z-index: -1; background: rgba(8, 47, 77, .84); }
.section-photo h2 { color: #fff; }
.sub { color: var(--muted); max-width: 60ch; }
.section-photo .sub { color: #D5E4F2; }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.sec-head h2 { margin: 0; }

/* Chips / filters */
.chips, .filters { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0 0 28px; }
.chip { display: inline-flex; align-items: center; gap: .45em; padding: 9px 16px; border-radius: 999px; background: var(--white); border: 1.5px solid var(--line); color: var(--deep); font: 500 .97rem 'Fira Sans', sans-serif; text-decoration: none; cursor: pointer; transition: border-color .2s, background .2s; min-height: 44px; }
.chip span { color: var(--muted); font-variant-numeric: tabular-nums; }
.chip:hover { border-color: var(--deep); color: var(--deep); }
.chip[aria-pressed="true"] { background: var(--deep); border-color: var(--deep); color: #fff; }
.chip[aria-pressed="true"] span { color: var(--sky); }
.filter-status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 24px; }
.card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: 0 1px 0 var(--line); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card[hidden] { display: none; }
.card-link { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.card-link:hover { color: inherit; }
.card-media { position: relative; aspect-ratio: 3 / 2; background: var(--deep); }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.tag { position: absolute; left: 12px; top: 12px; display: inline-flex; align-items: center; gap: .35em; padding: 5px 11px; border-radius: 999px; background: var(--white); color: var(--green-text); font-size: .85rem; font-weight: 600; }
.tag-inline { position: static; margin-bottom: 12px; background: #E3F1DC; }
.card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { margin-bottom: 8px; }
.meta { display: flex; align-items: center; gap: .4em; color: var(--muted); font-size: .95rem; margin-bottom: 14px; flex-wrap: wrap; }
.price { margin: auto 0 0; display: flex; align-items: baseline; gap: .4em; }
.price strong { font-size: 1.4rem; color: var(--deep); }
.price span { color: var(--muted); font-size: .9rem; }
.nophoto { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; color: #D5E4F2; font-size: .9rem; text-align: center; padding: 20px; background: radial-gradient(circle at 75% 25%, rgba(250, 171, 27, .35), transparent 32%), linear-gradient(160deg, var(--deep), var(--deeper) 70%); }
.nophoto-icon { width: 46px; height: 46px; color: var(--sun); }
.nophoto-lg { aspect-ratio: 21 / 8; border-radius: var(--radius); font-size: 1rem; }

/* Packages feature (home) */
.pack-feature { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.pack-media img { border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.pack-list { list-style: none; padding: 0; margin: 20px 0 28px; }
.pack-list a { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid rgba(171, 203, 235, .3); color: #fff; text-decoration: none; }
.pack-list a:hover span { text-decoration: underline; }
.pack-list strong { color: var(--sun); white-space: nowrap; font-weight: 600; }

/* Why */
.why { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.why-media img { border-radius: var(--radius); aspect-ratio: 5 / 4; object-fit: cover; width: 100%; }
.why-list { list-style: none; padding: 0; margin: 24px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 22px 28px; }
.why-list li { display: flex; gap: 12px; }
.why-list .icon { width: 28px; height: 28px; color: var(--green); margin-top: 2px; }
.why-list strong { display: block; color: var(--deep); }
.why-list span { color: var(--muted); font-size: .95rem; }

/* Quotes */
.quotes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 28px; }
.quote { margin: 0; padding: 24px 26px; border-left: 3px solid var(--sun); background: rgba(255, 255, 255, .07); border-radius: 0 var(--radius) var(--radius) 0; }
.quote blockquote { margin: 0 0 10px; font-size: 1.05rem; color: #F1F6FB; }
.quote figcaption { font-weight: 600; color: var(--sun); }

/* CTA band */
.cta-band { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-band p { margin: 0; max-width: 56ch; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.section-sun .btn-outline-deep { border-color: var(--deeper); color: var(--deeper); }
.section-sun .btn-outline-deep:hover { background: var(--deeper); color: #fff; }

/* Page hero */
.page-hero { position: relative; isolation: isolate; overflow: hidden; background: var(--deep); color: #fff; padding: 56px 0 52px; }
.page-hero.photo { padding: 72px 0 64px; }
.page-hero.photo::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8, 47, 77, .9), rgba(8, 47, 77, .6) 60%, rgba(8, 47, 77, .35)); }
.page-hero h1 { color: #fff; max-width: 22ch; }
.page-hero .lead { color: #E1ECF6; max-width: 56ch; font-size: 1.12rem; margin: 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .92rem; margin-bottom: 14px; color: inherit; }
.crumbs a { color: inherit; }
.page-hero .crumbs { color: #C9DBEC; }
.page-hero .crumbs a { color: #fff; }

/* Activity detail */
.detail-top { background: var(--deep); color: #E5EFF8; padding: 32px 0 40px; }
.detail-top .crumbs, .detail-top .crumbs a { color: #C9DBEC; }
.detail-top h1 { color: #fff; margin: 0; max-width: 24ch; }
.detail-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin: 6px 0 24px; flex-wrap: wrap; }
.price-box { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(171, 203, 235, .35); border-radius: var(--radius); padding: 16px 20px; min-width: 230px; }
.price-box strong { font-size: 2rem; line-height: 1.1; color: var(--sun); }
.price-box span { color: #C9DBEC; font-size: .95rem; }
.price-box .child { color: #fff; }
.price-box .btn { margin-top: 12px; }
.gallery { display: grid; gap: 10px; border-radius: var(--radius); overflow: hidden; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery.g-1 img { aspect-ratio: 21 / 8; }
.gallery.g-2 { grid-template-columns: 2fr 1fr; aspect-ratio: 21 / 8; }
.gallery.g-3 { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; aspect-ratio: 21 / 8; }
.gallery.g-3 img:first-child { grid-row: span 2; }
.gallery img { min-height: 0; }
.detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: clamp(28px, 4vw, 56px); align-items: start; }
.detail-side { position: sticky; top: 92px; }
.detail-main h2 { margin-top: 1.4em; }
.facts { list-style: none; padding: 0; margin: 0 0 20px; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; }
.facts li { display: flex; gap: 12px; padding: 14px 16px; background: var(--sky-soft); border-radius: var(--radius); }
.facts .icon { width: 26px; height: 26px; color: var(--green-text); }
.facts span { display: block; font-size: .85rem; color: var(--muted); }
.facts strong { color: var(--deep); font-weight: 600; }
.notice { display: flex; gap: 10px; align-items: flex-start; background: #FFF1D3; border-left: 4px solid var(--sun); padding: 12px 16px; border-radius: 0 8px 8px 0; color: #4A3500; }
.notice .icon { color: #9A5B00; margin-top: 3px; }
.prose p { max-width: 70ch; }
.lists { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 8px 32px; }
.list ul { list-style: none; padding: 0; margin: 0; }
.list li { display: flex; gap: 10px; padding: 6px 0; }
.list.inc .icon { color: var(--green); }
.list.exc .icon { color: #B23A2E; }
.list.bring .icon { color: var(--deep); }
.list h2 { font-size: 1.25rem; }
.program { list-style: none; padding: 0; margin: 0; counter-reset: d; }
.program li { position: relative; padding: 0 0 18px 28px; border-left: 2px solid var(--line); margin-left: 8px; }
.program li::before { content: ''; position: absolute; left: -8px; top: 4px; width: 14px; height: 14px; border-radius: 50%; background: var(--sun); border: 2px solid var(--white); }
.program h3 { margin-bottom: 6px; }

/* Packages list */
.packs { display: grid; gap: 28px; }
.pack { display: grid; grid-template-columns: 380px 1fr; background: var(--white); border-radius: var(--radius); overflow: hidden; }
.pack-img { min-height: 260px; background: var(--deep); }
.pack-img img { width: 100%; height: 100%; object-fit: cover; }
.pack-body { padding: 26px 30px; display: flex; flex-direction: column; }
.pack-body h2 { font-size: 1.5rem; }
.pack-body h2 a { text-decoration: none; }
.pack-body h2 a:hover { text-decoration: underline; }
.edition { display: flex; gap: 8px; align-items: center; color: #7A4A00; font-weight: 500; }
.pack-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 10px; }
.pack-foot strong { font-size: 1.25rem; color: var(--deep); }
.past { list-style: none; padding: 0; margin: 24px 0 30px; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.past li { display: flex; gap: 10px; align-items: center; padding: 14px 16px; border: 1px solid rgba(171, 203, 235, .35); border-radius: var(--radius); color: #fff; }
.past .icon { color: var(--sun); }

/* Team, legal cards */
.team { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.team li { display: flex; align-items: center; gap: 14px; padding: 16px; background: rgba(255, 255, 255, .07); border-radius: var(--radius); }
.mono { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--sun); color: var(--deeper); font-weight: 700; font-size: 1.1rem; flex: none; }
.team strong { display: block; color: #fff; }
.team span { color: #C9DBEC; font-size: .95rem; }
.legal-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.legal-cards > div { background: var(--white); border-radius: var(--radius); padding: 24px; }
.legal-cards .icon { width: 30px; height: 30px; color: var(--green); margin-bottom: 10px; }
.legal-cards h2 { font-size: 1.2rem; }
.legal-cards p { margin: 0; color: var(--muted); }

/* Contacts */
.contact-list { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 12px; }
.contact-list li { display: flex; gap: 14px; align-items: center; padding: 16px 18px; background: var(--white); border-radius: var(--radius); }
.contact-list .icon { width: 28px; height: 28px; color: var(--green-text); }
.contact-list span { display: block; font-size: .88rem; color: var(--muted); }
.contact-list a, .contact-list strong { font-weight: 600; color: var(--deep); }
.shops { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.shop { background: var(--white); border-radius: var(--radius); padding: 18px 20px; }
.shop p { margin: 0 0 6px; }
.svc { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; }
.svc li { display: flex; gap: 10px; padding: 12px 16px; background: var(--white); border-radius: var(--radius); }
.svc .icon { color: var(--green); margin-top: 3px; }
.side-photo img { border-radius: var(--radius); aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.panel { background: var(--white); border-radius: var(--radius); padding: clamp(22px, 4vw, 40px); max-width: 820px; }
.panel h2 { font-size: 1.35rem; margin-top: 1.2em; }
.panel h2:first-child { margin-top: 0; }

/* Forms */
.req-form { background: var(--white); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); border-top: 5px solid var(--sun); }
.section-white .req-form { background: var(--sky-soft); box-shadow: none; }
.req-form h2 { font-size: 1.4rem; margin: 0 0 6px; }
.form-intro { color: var(--muted); font-size: .95rem; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field label { font-weight: 500; font-size: .95rem; color: var(--ink); }
.hint { color: var(--muted); font-weight: 400; font-size: .85rem; }
.field input, .field select, .field textarea { font: 400 1rem 'Fira Sans', sans-serif; padding: 11px 12px; border: 1.5px solid #8FA9C0; border-radius: 8px; background: #fff; color: var(--ink); min-height: 46px; width: 100%; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--deep); box-shadow: 0 0 0 3px rgba(250, 171, 27, .55); }
.field textarea { resize: vertical; }
.field ::placeholder { color: #6A7C8C; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 12px; }
.field.check { flex-direction: row; flex-wrap: wrap; align-items: flex-start; gap: 10px; }
.field.check input { width: 22px; height: 22px; min-height: 0; margin-top: 2px; accent-color: var(--deep); flex: none; }
.field.check label { flex: 1; font-weight: 400; font-size: .92rem; }
.field.check .error { flex-basis: 100%; }
.error { display: none; color: #A2281C; font-size: .88rem; margin: 0; }
.field.invalid .error { display: block; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #A2281C; }
.form-note { font-size: .88rem; color: var(--muted); margin: 12px 0 0; }
.req-form .btn[disabled] { opacity: .7; cursor: progress; }

/* Lists under catalogue */
.list-foot { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 40px; padding: 24px; background: var(--white); border-radius: var(--radius); }
.list-foot p { margin: 0 auto 0 0; font-weight: 500; color: var(--deep); }

/* Footer */
.site-footer { background: var(--deeper); color: #C9DBEC; padding: 64px 0 28px; font-size: .95rem; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--sun); }
.site-footer h2 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.4fr; gap: 36px; }
.foot-brand img { width: 120px; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.foot-contacts li { display: flex; gap: 10px; align-items: flex-start; }
.foot-contacts .icon { color: var(--sun); margin-top: 3px; }
.social { display: flex; gap: 10px; }
.social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .08); }
.social .icon { width: 22px; height: 22px; }
.foot-legal { margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(171, 203, 235, .2); display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; font-size: .85rem; }
.foot-legal p { margin: 0; }
.foot-legal img { width: min(520px, 100%); }
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: #1F8F4E; color: #fff; box-shadow: 0 8px 24px rgba(0, 0, 0, .25); }
.wa-float:hover { color: #fff; background: #187440; }
.wa-float .icon { width: 30px; height: 30px; }

@media (max-width: 1080px) {
  .detail-grid { grid-template-columns: 1fr; }
  .detail-side { position: static; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .pack-feature, .why { grid-template-columns: minmax(0, 1fr); }
  .why-media { order: -1; }
  .quotes { grid-template-columns: 1fr; }
  .pack { grid-template-columns: 1fr; }
  .pack-img { min-height: 0; aspect-ratio: 16 / 9; }
  .legal-cards { grid-template-columns: 1fr; }
  .gallery.g-2, .gallery.g-3 { grid-template-columns: 1fr; grid-template-rows: auto; aspect-ratio: auto; }
  .gallery.g-2 img, .gallery.g-3 img { aspect-ratio: 3 / 2; }
  .gallery.g-3 img:first-child { grid-row: auto; }
  .gallery.g-2 img:not(:first-child), .gallery.g-3 img:not(:first-child) { display: none; }
  .gallery.g-1 img, .nophoto-lg { aspect-ratio: 3 / 2; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 32px); }
  .why-list { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr 1fr; gap: 0 8px; }
  .grid-3 .hint { display: block; }
  .shops { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .req-form { padding: 20px 16px; }
  .detail-head { align-items: stretch; }
  .price-box { width: 100%; }
  .price-box .btn { width: 100%; }
  .cards { grid-template-columns: 1fr; }
  .list-foot .btn { width: 100%; }
  .cta-actions .btn { flex: 1; }
}
.summary { display: grid; grid-template-columns: max-content 1fr; gap: 8px 20px; margin: 0 0 20px; }
.summary dt { color: var(--muted); }
.summary dd { margin: 0; font-weight: 500; color: var(--deep); overflow-wrap: anywhere; }
@media (max-width: 560px) { .summary { grid-template-columns: 1fr; gap: 2px; } .summary dd { margin-bottom: 8px; } }
@media (max-width: 640px) { .page-hero.photo::after { background: linear-gradient(0deg, rgba(8, 47, 77, .92), rgba(8, 47, 77, .74)); } }
.contact-list li { background: var(--deep); }
.contact-list span { color: #C9DBEC; }
.contact-list a, .contact-list strong { color: #fff; }
.contact-list a:hover { color: var(--sun); }
.contact-list .icon { color: var(--sun); }
@media (max-width: 640px) { .page-hero, .page-hero.photo { padding: 56px 0 60px; min-height: 300px; display: flex; align-items: flex-end; } }
.panel-plain { background: transparent; padding-inline: 0; }
a, button, .chip { -webkit-tap-highlight-color: rgba(250, 171, 27, .25); }
.price strong, .price-box strong, .pack-foot strong, .pack-list strong, .chip span { font-variant-numeric: tabular-nums; }
.wa-float { right: max(18px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom)); }

/* Phase 3: live estimate, form-level alerts, confirmation actions */
.estimate { background: var(--deep); color: #fff; border-radius: 10px; padding: 14px 16px; margin: 2px 0 16px; }
.estimate-total { margin: 0; font-size: 1.05rem; }
.estimate-total strong { color: var(--sun); font-size: 1.25rem; }
.estimate-lines { list-style: none; margin: 4px 0 6px; padding: 0; font-size: .92rem; color: #DDEBF7; }
.estimate-note { margin: 0; font-size: .82rem; color: #C9DCEE; }
.form-alert { border-radius: 8px; padding: 12px 14px; margin: 0 0 14px; font-size: .94rem; outline: none; }
.form-alert p { margin: 0; }
.form-alert.is-check { background: #FBE9E7; border-left: 4px solid #A2281C; color: #6E1A12; }
.form-alert.is-send { background: #FFF1D3; border-left: 4px solid #A2281C; color: #4A3500; }
.form-alert.is-send a { color: var(--deeper); font-weight: 600; }
.form-alert:focus-visible { box-shadow: 0 0 0 3px rgba(250, 171, 27, .55); }
.conf-actions { display: flex; flex-wrap: wrap; gap: 12px; }
/* People row: hint always on its own line so the three inputs line up at every width */
.grid-3 .hint { display: block; font-size: .82rem; white-space: nowrap; }
.grid-3 .field label { line-height: 1.35; }
.estimate, .summary dd { font-variant-numeric: tabular-nums; }
/* The floating WhatsApp button must not cover the field being filled in on phones */
@media (max-width: 760px) { body:has(.req-form :focus) .wa-float { display: none; } }
