:root {
  --navy: #071a4a;
  --navy-2: #0c2c74;
  --blue: #0879cf;
  --sky: #41b8eb;
  --ice: #eef8ff;
  --white: #ffffff;
  --ink: #14213d;
  --muted: #667085;
  --line: #dce8f3;
  --success: #16a34a;
  --shadow: 0 18px 55px rgba(7, 26, 74, 0.14);
  --shadow-soft: 0 10px 32px rgba(7, 26, 74, 0.09);
  --radius: 22px;
  --radius-sm: 14px;
  --container: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
.container { width: min(var(--container), calc(100% - 40px)); margin-inline: auto; }
.section { padding: 96px 0; }
.section-sm { padding: 68px 0; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  color: var(--blue);
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-size: .78rem;
}
.eyebrow::before { content: ""; width: 34px; height: 2px; background: linear-gradient(90deg,var(--navy),var(--sky)); }
.section-title { margin: 0; color: var(--navy); font-size: clamp(2rem, 4.5vw, 3.45rem); line-height: 1.12; letter-spacing: -.04em; }
.section-copy { max-width: 720px; margin: 18px 0 0; color: var(--muted); font-size: 1.05rem; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 38px; }
.section-head .section-copy { max-width: 590px; }
.text-link { color: var(--blue); font-weight: 800; display: inline-flex; align-items: center; gap: 8px; }
.text-link:hover { color: var(--navy); }

.btn {
  border: 0;
  border-radius: 999px;
  padding: 13px 21px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-weight: 800;
  transition: .25s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(135deg,var(--navy-2),var(--blue)); color: white; box-shadow: 0 10px 24px rgba(8,121,207,.25); }
.btn-primary:hover { box-shadow: 0 14px 30px rgba(8,121,207,.34); }
.btn-light { background: white; color: var(--navy); box-shadow: var(--shadow-soft); }
.btn-outline { color: white; border: 1px solid rgba(255,255,255,.56); background: rgba(255,255,255,.08); backdrop-filter: blur(8px); }
.btn-outline-blue { color: var(--navy); border: 1px solid var(--line); background: white; }
.btn-whatsapp { background: #18b45b; color: white; }

.topbar { background: var(--navy); color: rgba(255,255,255,.88); font-size: .88rem; }
.topbar-inner { min-height: 42px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.topbar-links, .topbar-actions { display: flex; align-items: center; gap: 22px; }
.topbar a:hover { color: white; }
.topbar-quote { color: white; font-weight: 800; }

.site-header { background: rgba(255,255,255,.96); position: sticky; top: 0; z-index: 1000; border-bottom: 1px solid rgba(7,26,74,.08); backdrop-filter: blur(16px); }
.header-inner { min-height: 90px; display: flex; align-items: center; gap: 28px; }
.brand { width: 160px; flex: 0 0 160px; }
.brand img { width: 100%; height: 74px; object-fit: contain; }
.main-nav { margin-left: auto; display: flex; align-items: center; gap: 7px; }
.nav-link, .nav-drop > button {
  border: 0; background: none; padding: 12px 13px; border-radius: 10px; font-size: .93rem; font-weight: 800; color: var(--navy);
}
.nav-link:hover, .nav-drop > button:hover, .nav-link.active { background: var(--ice); color: var(--blue); }
.nav-drop { position: relative; }
.dropdown {
  position: absolute; top: calc(100% + 9px); left: 0; width: 285px; padding: 10px; border: 1px solid var(--line); background: white; border-radius: 17px; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(8px); transition: .2s ease;
}
.dropdown a { display: block; padding: 10px 12px; border-radius: 9px; font-size: .9rem; font-weight: 700; color: #31415f; }
.dropdown a:hover { background: var(--ice); color: var(--blue); }
.nav-drop:hover .dropdown, .nav-drop:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.header-cta { margin-left: 5px; }
.menu-toggle { display: none; margin-left: auto; width: 45px; height: 45px; border: 1px solid var(--line); border-radius: 12px; background: white; color: var(--navy); }

.hero { position: relative; min-height: 690px; color: white; overflow: hidden; display: grid; align-items: center; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg,rgba(4,19,58,.92) 0%,rgba(4,26,74,.72) 48%,rgba(4,26,74,.24) 78%,rgba(4,26,74,.18) 100%), url('assets/images/krabi.webp') center/cover no-repeat; }
.hero::after { content: ""; position: absolute; right: -100px; bottom: -160px; width: 430px; height: 430px; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; box-shadow: 0 0 0 55px rgba(255,255,255,.06), 0 0 0 110px rgba(255,255,255,.04); }
.hero-inner { position: relative; z-index: 2; padding: 105px 0 122px; }
.hero-copy { max-width: 760px; }
.hero-kicker { display: inline-flex; align-items: center; gap: 10px; padding: 7px 13px; border: 1px solid rgba(255,255,255,.3); border-radius: 999px; background: rgba(255,255,255,.09); backdrop-filter: blur(8px); font-weight: 800; font-size: .83rem; letter-spacing: .08em; text-transform: uppercase; }
.hero h1 { max-width: 800px; margin: 18px 0; font-size: clamp(3rem, 7vw, 5.7rem); line-height: .98; letter-spacing: -.055em; }
.hero h1 span { color: #7bd7ff; }
.hero p { max-width: 680px; margin: 0 0 30px; font-size: clamp(1rem,2vw,1.22rem); color: rgba(255,255,255,.84); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-trust { display: flex; gap: 27px; flex-wrap: wrap; margin-top: 34px; color: rgba(255,255,255,.87); font-weight: 700; font-size: .9rem; }
.hero-trust span { display: flex; align-items: center; gap: 8px; }
.quote-strip { position: relative; z-index: 3; margin-top: -54px; }
.quote-panel { background: white; border-radius: 24px; padding: 18px; box-shadow: var(--shadow); display: grid; grid-template-columns: 1.05fr 1fr .9fr .8fr auto; gap: 10px; align-items: end; }
.field label { display: block; font-size: .75rem; color: #667085; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; margin: 0 0 6px 3px; }
.field input,.field select,.field textarea { width: 100%; border: 1px solid var(--line); border-radius: 13px; background: #f9fcff; color: var(--ink); padding: 13px 14px; outline: none; }
.field input:focus,.field select:focus,.field textarea:focus { border-color: var(--sky); box-shadow: 0 0 0 4px rgba(65,184,235,.13); }
.quote-panel .btn { height: 51px; }

.trust-row { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.trust-card { padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(180deg,#fff,#f7fbff); display: flex; gap: 14px; align-items: flex-start; }
.icon-box { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; flex: 0 0 auto; color: var(--blue); background: var(--ice); }
.trust-card h3 { margin: 0 0 4px; color: var(--navy); font-size: 1rem; }
.trust-card p { margin: 0; color: var(--muted); font-size: .9rem; }

.package-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 22px; }
.package-card { background: white; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-soft); transition: .3s ease; }
.package-card:hover { transform: translateY(-7px); box-shadow: var(--shadow); }
.package-media { height: 245px; position: relative; overflow: hidden; }
.package-media img { width: 100%; height: 100%; object-fit: cover; transition: .45s ease; }
.package-card:hover .package-media img { transform: scale(1.06); }
.package-badge { position: absolute; top: 14px; left: 14px; background: rgba(255,255,255,.93); color: var(--navy); padding: 6px 10px; border-radius: 999px; font-size: .75rem; font-weight: 900; }
.package-body { padding: 21px; }
.package-meta { display: flex; gap: 14px; color: var(--muted); font-size: .82rem; font-weight: 700; }
.package-body h3 { color: var(--navy); font-size: 1.28rem; margin: 9px 0 8px; line-height: 1.25; }
.package-body p { color: var(--muted); margin: 0 0 16px; font-size: .94rem; }
.package-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; border-top: 1px solid var(--line); padding-top: 15px; }
.package-price small { color: var(--muted); display: block; line-height: 1; }
.package-price strong { color: var(--blue); }

.service-section { background: linear-gradient(180deg,#f5fbff 0%,#fff 100%); }
.service-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.service-card { padding: 27px; background: white; border: 1px solid var(--line); border-radius: 20px; transition: .25s ease; }
.service-card:hover { border-color: #9edcff; transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.service-card .icon-box { width: 55px; height: 55px; margin-bottom: 18px; background: linear-gradient(135deg,var(--navy-2),var(--sky)); color: white; }
.service-card h3 { color: var(--navy); margin: 0 0 8px; }
.service-card p { margin: 0; color: var(--muted); font-size: .94rem; }

.experience-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px; }
.experience-main, .experience-side { position: relative; overflow: hidden; border-radius: 26px; min-height: 480px; }
.experience-main img,.experience-side img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.experience-side { display: grid; grid-template-rows: 1fr 1fr; gap: 24px; overflow: visible; }
.experience-small { position: relative; overflow: hidden; border-radius: 26px; min-height: 228px; }
.exp-overlay { position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 28px; color: white; background: linear-gradient(180deg,transparent 30%,rgba(3,18,58,.88)); }
.exp-overlay h3 { margin: 0 0 5px; font-size: 1.55rem; }
.exp-overlay p { margin: 0; color: rgba(255,255,255,.78); }

.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.about-media { position: relative; min-height: 560px; }
.about-main { position: absolute; inset: 0 70px 0 0; border-radius: 30px; overflow: hidden; box-shadow: var(--shadow); }
.about-main img { width: 100%; height: 100%; object-fit: cover; }
.about-float { position: absolute; right: 0; bottom: 42px; width: 230px; border: 8px solid white; border-radius: 23px; overflow: hidden; box-shadow: var(--shadow); }
.about-float img { height: 250px; width: 100%; object-fit: cover; }
.about-badge { position: absolute; left: -24px; top: 48px; width: 150px; height: 150px; border-radius: 50%; background: linear-gradient(135deg,var(--navy),var(--blue)); color: white; display: grid; place-items: center; text-align: center; border: 8px solid white; box-shadow: var(--shadow); font-weight: 900; }
.check-list { list-style: none; padding: 0; margin: 25px 0 29px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 18px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; font-weight: 700; color: #32405c; }
.check-list li::before { content: "✓"; width: 23px; height: 23px; border-radius: 50%; background: var(--ice); color: var(--blue); display: grid; place-items: center; flex: 0 0 auto; font-size: .78rem; font-weight: 900; }

.stats { background: var(--navy); color: white; }
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; text-align: center; }
.stat strong { display: block; font-size: clamp(2rem,4vw,3.2rem); line-height: 1; color: #82ddff; }
.stat span { display: block; margin-top: 8px; color: rgba(255,255,255,.74); font-weight: 700; }

.testimonial-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.testimonial { padding: 27px; border: 1px solid var(--line); border-radius: 20px; background: white; box-shadow: var(--shadow-soft); }
.stars { color: #f5a623; letter-spacing: .08em; }
.testimonial p { color: #48556f; font-size: 1rem; }
.person { display: flex; align-items: center; gap: 12px; margin-top: 20px; }
.avatar { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg,var(--navy),var(--sky)); color: white; display: grid; place-items: center; font-weight: 900; }
.person strong { display: block; color: var(--navy); }
.person small { color: var(--muted); }

.cta-section { padding: 84px 0; }
.cta-box { position: relative; overflow: hidden; border-radius: 32px; padding: 65px; color: white; background: linear-gradient(120deg,rgba(5,25,72,.94),rgba(4,104,179,.83)), url('assets/images/phuket.webp') center/cover no-repeat; box-shadow: var(--shadow); }
.cta-box::after { content: ""; position: absolute; width: 300px; height: 300px; border: 55px solid rgba(255,255,255,.07); border-radius: 50%; right: -80px; top: -80px; }
.cta-content { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.cta-copy { max-width: 720px; }
.cta-copy h2 { margin: 0 0 12px; font-size: clamp(2rem,4vw,3.6rem); line-height: 1.08; letter-spacing: -.04em; }
.cta-copy p { margin: 0; color: rgba(255,255,255,.8); font-size: 1.06rem; }
.cta-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.contact-section { background: #f5fbff; }
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 35px; }
.contact-card { background: var(--navy); color: white; padding: 36px; border-radius: 25px; }
.contact-card h3 { font-size: 2rem; margin: 0 0 10px; }
.contact-card > p { color: rgba(255,255,255,.72); }
.contact-method { display: flex; gap: 13px; margin-top: 24px; align-items: center; }
.contact-method .icon-box { background: rgba(255,255,255,.1); color: #83ddff; }
.contact-method strong { display: block; }
.contact-method span { color: rgba(255,255,255,.7); }
.contact-form { background: white; padding: 35px; border: 1px solid var(--line); border-radius: 25px; box-shadow: var(--shadow-soft); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1/-1; }

.page-hero { position: relative; min-height: 390px; color: white; display: grid; place-items: center; text-align: center; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg,rgba(4,20,61,.94),rgba(5,105,180,.64)), var(--page-bg, url('assets/images/bangkok.webp')) center/cover no-repeat; }
.page-hero-content { position: relative; z-index: 2; padding: 80px 0; }
.page-hero h1 { margin: 0; font-size: clamp(2.8rem,6vw,5rem); letter-spacing: -.05em; line-height: 1; }
.page-hero p { max-width: 700px; margin: 17px auto 0; color: rgba(255,255,255,.82); font-size: 1.08rem; }
.breadcrumb { display: inline-flex; gap: 9px; align-items: center; margin-bottom: 18px; font-weight: 800; font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; color: #8bdfff; }
.content-card { padding: 34px; border: 1px solid var(--line); border-radius: 22px; background: white; box-shadow: var(--shadow-soft); }
.prose { max-width: 900px; margin: 0 auto; }
.prose h2,.prose h3 { color: var(--navy); line-height: 1.25; }
.prose h2 { margin-top: 42px; font-size: 2rem; }
.prose p,.prose li { color: #4d5c77; }
.prose a { color: var(--blue); font-weight: 800; }

.site-footer { background: #041237; color: rgba(255,255,255,.73); padding-top: 75px; }
.footer-grid { display: grid; grid-template-columns: 1.35fr .8fr 1fr 1fr; gap: 40px; }
.footer-logo { width: 210px; height: 110px; object-fit: contain; filter: brightness(0) invert(1); opacity: .96; }
.footer-brand p { max-width: 360px; }
.footer-title { color: white; margin: 9px 0 18px; font-size: 1.05rem; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin: 9px 0; }
.footer-links a:hover { color: #7bd7ff; }
.footer-contact a { color: white; font-weight: 800; }
.footer-bottom { margin-top: 55px; padding: 22px 0; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; gap: 20px; font-size: .86rem; }
.footer-bottom-links { display: flex; gap: 18px; }
.photo-credit { margin-top: 18px; font-size: .7rem; color: rgba(255,255,255,.38); }

.floating-actions { position: fixed; right: 20px; bottom: 22px; z-index: 1200; display: grid; gap: 10px; }
.float-btn { width: 55px; height: 55px; border-radius: 50%; display: grid; place-items: center; color: white; box-shadow: 0 12px 26px rgba(0,0,0,.2); border: 3px solid white; }
.float-call { background: var(--blue); }
.float-wa { background: #18b45b; }
.mobile-bottom { display: none; }
.modal { position: fixed; inset: 0; z-index: 2000; background: rgba(2,12,39,.72); display: none; place-items: center; padding: 20px; }
.modal.open { display: grid; }
.modal-card { width: min(570px,100%); max-height: 92vh; overflow: auto; background: white; border-radius: 24px; padding: 28px; box-shadow: var(--shadow); }
.modal-head { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.modal-head h2 { color: var(--navy); margin: 0; }
.modal-close { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: white; }
.notice { padding: 12px 14px; background: var(--ice); border-left: 4px solid var(--blue); color: #355071; border-radius: 9px; font-size: .9rem; }

@media (max-width: 1080px) {
  .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; padding: 14px 20px 22px; background: white; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-soft); flex-direction: column; align-items: stretch; }
  .main-nav.open { display: flex; }
  .nav-link,.nav-drop>button { width: 100%; text-align: left; }
  .dropdown { position: static; width: 100%; box-shadow: none; border: 0; padding-left: 15px; display: none; opacity: 1; visibility: visible; transform: none; }
  .nav-drop.open .dropdown { display: block; }
  .header-cta { display: none; }
  .menu-toggle { display: grid; place-items: center; }
  .quote-panel { grid-template-columns: 1fr 1fr; }
  .quote-panel .btn { grid-column: 1/-1; }
  .package-grid { grid-template-columns: repeat(2,1fr); }
  .service-grid { grid-template-columns: repeat(2,1fr); }
  .trust-row { grid-template-columns: repeat(2,1fr); }
  .about-grid { gap: 40px; }
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; }
  .footer-grid > :last-child { grid-column: 1/-1; }
}

@media (max-width: 760px) {
  body { padding-bottom: 62px; }
  .container { width: min(100% - 28px, var(--container)); }
  .topbar-links { display: none; }
  .topbar-actions { width: 100%; justify-content: space-between; gap: 10px; }
  .topbar-actions .btn { padding: 7px 12px; font-size: .78rem; }
  .header-inner { min-height: 76px; }
  .brand { width: 130px; flex-basis: 130px; }
  .brand img { height: 64px; }
  .hero { min-height: 650px; }
  .hero::before { background: linear-gradient(90deg,rgba(4,19,58,.9),rgba(4,26,74,.58)), url('assets/images/krabi.webp') center/cover no-repeat; }
  .hero-inner { padding: 80px 0 110px; }
  .hero h1 { font-size: clamp(3rem,15vw,4.5rem); }
  .quote-strip { margin-top: -46px; }
  .quote-panel { grid-template-columns: 1fr; padding: 15px; }
  .quote-panel .btn { grid-column: auto; }
  .section,.section-sm { padding: 70px 0; }
  .section-head { display: block; }
  .section-head .text-link { margin-top: 15px; }
  .trust-row,.package-grid,.service-grid,.testimonial-grid,.stats-grid { grid-template-columns: 1fr; }
  .experience-grid { grid-template-columns: 1fr; }
  .experience-main { min-height: 430px; }
  .about-grid { grid-template-columns: 1fr; }
  .about-media { min-height: 470px; }
  .about-main { right: 35px; }
  .about-float { width: 180px; }
  .about-badge { width: 120px; height: 120px; left: -10px; font-size: .85rem; }
  .check-list { grid-template-columns: 1fr; }
  .cta-box { padding: 42px 26px; }
  .cta-content { display: block; }
  .cta-actions { margin-top: 25px; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .full { grid-column: auto; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > :last-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
  .floating-actions { display: none; }
  .mobile-bottom { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1500; height: 62px; background: white; border-top: 1px solid var(--line); box-shadow: 0 -10px 25px rgba(7,26,74,.09); display: grid; grid-template-columns: repeat(3,1fr); }
  .mobile-bottom a,.mobile-bottom button { border: 0; background: white; color: var(--navy); display: grid; place-items: center; align-content: center; gap: 2px; font-size: .72rem; font-weight: 900; }
  .mobile-bottom .wa { color: #11984b; }
}


/* Cross-device and cross-browser hardening */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { overflow-x: hidden; }
img, picture, video, canvas { max-width: 100%; height: auto; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
.header-inner, .main-nav, .hero-copy, .package-card, .service-card, .testimonial, .contact-card, .contact-form { min-width: 0; }
.field input, .field select, .field textarea { min-width: 0; }
.footer-email { display: block; width: fit-content; margin-top: 12px; color: #8edcff; font-weight: 800; overflow-wrap: anywhere; }
.rating-score { color: var(--navy); letter-spacing: 0; font-size: .84rem; font-weight: 900; margin-left: 5px; }
.testimonial-grid { grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); align-items: stretch; }
.testimonial { height: 100%; display: flex; flex-direction: column; }
.testimonial .person { margin-top: auto; padding-top: 18px; }
.magazine-section { background: linear-gradient(180deg,#f8fcff,#eef7ff); }
.magazine-grid { display: grid; grid-template-columns: minmax(260px,.72fr) minmax(0,1.28fr); gap: clamp(34px,6vw,78px); align-items: center; }
.magazine-media { max-width: 430px; margin-inline: auto; padding: 14px; background: white; border-radius: 24px; box-shadow: var(--shadow); transform: rotate(-1deg); }
.magazine-media img { width: 100%; border-radius: 15px; }
.magazine-copy .section-copy { max-width: 680px; }
.magazine-meta { margin: 22px 0; color: var(--navy); font-weight: 800; }
@supports not (backdrop-filter: blur(8px)) {
  .site-header { background: rgba(255,255,255,.99); }
  .hero-kicker, .btn-outline { background: rgba(7,26,74,.45); }
}
@media (max-width: 900px) {
  .magazine-grid { grid-template-columns: .8fr 1.2fr; gap: 30px; }
}
@media (max-width: 760px) {
  input, select, textarea { font-size: 16px; }
  .magazine-grid { grid-template-columns: 1fr; }
  .magazine-media { max-width: 320px; transform: none; }
  .mobile-bottom { height: calc(62px + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); }
  body { padding-bottom: calc(62px + env(safe-area-inset-bottom)); }
  .contact-method a { overflow-wrap: anywhere; }
}
@media (max-width: 480px) {
  .container { width: min(100% - 22px, var(--container)); }
  .topbar-actions { gap: 7px; }
  .topbar-actions > a:first-child { font-size: .78rem; }
  .topbar-actions .btn { padding: 6px 9px; font-size: .7rem; }
  .brand { width: 116px; flex-basis: 116px; }
  .brand img { height: 58px; }
  .hero { min-height: 610px; }
  .hero-inner { padding: 68px 0 100px; }
  .hero h1 { font-size: clamp(2.75rem,14vw,4rem); }
  .hero-actions .btn { width: 100%; }
  .hero-trust { gap: 12px; }
  .section, .section-sm { padding: 58px 0; }
  .content-card, .contact-card, .contact-form { padding: 24px 18px; }
  .cta-box { border-radius: 22px; padding: 34px 20px; }
  .footer-bottom-links { flex-wrap: wrap; gap: 10px 16px; }
  .modal { padding: 10px; }
  .modal-card { padding: 21px 16px; border-radius: 18px; }
}
