/* Proyectos Solis — sitio estático listo para Cloudflare Pages */
:root {
  --navy: #0a3046;
  --navy-deep: #062333;
  --navy-soft: #204a60;
  --orange: #e78b34;
  --orange-dark: #ce6d18;
  --text: #173548;
  --muted: #667884;
  --paper: #fff;
  --warm: #f4f3ef;
  --line: #dce3e5;
  --container: 1200px;
  --ease: cubic-bezier(.2,.7,.2,1);
}
*,*::before,*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body { margin: 0; font-family: "Segoe UI", Inter, Arial, Helvetica, sans-serif; background: var(--paper); color: var(--text); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.dialog-open { overflow: hidden; }
button,input,textarea { font: inherit; }
a { color: inherit; text-decoration: none; }
a,button { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
img,svg { display: block; }
img { max-width: 100%; }
button, a { touch-action: manipulation; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 4px; }
::selection { background: #f5c599; color: var(--navy-deep); }
.container { width: min(var(--container), calc(100% - 80px)); margin-inline: auto; }
.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.svg-icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.scroll-progress { position: fixed; z-index: 500; top: 0; left: 0; height: 3px; width: 100%; background: var(--orange); transform: scaleX(0); transform-origin: left center; pointer-events: none; }
.skip-link { position: fixed; z-index: 999; top: -100px; left: 12px; background: var(--navy); color: white; padding: 12px 15px; border-radius: 0 0 8px 8px; }
.skip-link:focus { top: 0; }

/* Header */
.site-header { position: relative; z-index: 100; background: rgba(255,255,255,.97); border-bottom: 1px solid #e9e9e5; box-shadow: 0 4px 30px rgba(8,43,64,.025); }
.header-inner { display: flex; align-items: center; min-height: 98px; gap: 22px; }
.brand { display: flex; align-items: center; flex: none; width: 183px; padding: 3px 0; }
.brand img { width: 100%; height: auto; object-fit: contain; }
.desktop-nav { display: flex; align-items: center; justify-content: center; gap: clamp(17px,2.2vw,34px); margin-inline: auto; }
.nav-link { display: inline-flex; position: relative; align-items: center; min-height: 50px; font-size: 13px; font-weight: 650; white-space: nowrap; color: #49606d; transition: color .2s; }
.nav-link::after { content: ''; position: absolute; height: 2px; left: 0; bottom: 7px; width: 100%; background: var(--orange); transform: scaleX(0); transform-origin: left center; transition: transform .25s var(--ease); }
.nav-link:hover,.nav-link.active { color: var(--navy); }
.nav-link:hover::after,.nav-link.active::after { transform: scaleX(1); }
.header-cta { display: flex; align-items: center; gap: 14px; flex: none; padding: 13px 17px; background: var(--navy); color: #fff; font-size: 13px; font-weight: 700; border: 1px solid var(--navy); transition: background .2s, transform .2s; }
.header-cta:hover { background: var(--navy-soft); transform: translateY(-2px); }
.header-cta svg { width: 17px; height: 17px; }
.menu-toggle { display: none; }
.mobile-nav { display: none; }

/* Shared elements */
.section-padding { padding-block: clamp(76px, 9vw, 120px); }
.eyebrow,.section-kicker { display: inline-flex; align-items: center; gap: 12px; letter-spacing: .2em; font-size: 11px; font-weight: 800; color: var(--orange-dark); }
.eyebrow-line,.kicker-line { display: inline-block; width: 30px; height: 2px; flex: none; background: var(--orange); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 21px; padding: 17px 21px; min-height: 59px; border: 1px solid transparent; text-align: center; font-weight: 750; font-size: 14px; white-space: nowrap; transition: transform .25s var(--ease), box-shadow .25s, background .25s, color .25s; }
.button:hover { transform: translateY(-3px); }
.button svg { transition: transform .25s var(--ease); }
.button:hover svg { transform: translate(3px,-3px); }
.button-primary { color: #fff; background: var(--navy); box-shadow: 0 14px 28px rgba(6,35,51,.12); }
.button-primary:hover { background: var(--navy-soft); box-shadow: 0 17px 32px rgba(6,35,51,.2); }
.button-orange { background: var(--orange); color: var(--navy-deep); }
.button-orange:hover { background: #f3a557; box-shadow: 0 15px 30px rgba(0,0,0,.15); }
.text-link { display: inline-flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 750; color: var(--navy); padding-block: 10px; }
.text-link svg { width: 20px; transition: transform .2s; }
.text-link:hover svg { transform: translateX(5px); }

/* Main hero */
.hero { position: relative; overflow: hidden; isolation: isolate; background: linear-gradient(105deg, #fafaf8 0%, #f6f6f2 49%, #edf2f1 100%); }
.hero::before { position: absolute; content: ''; top: 0; right: 0; width: 44%; height: 100%; background: linear-gradient(135deg, rgba(8,49,71,.035), transparent 75%); pointer-events: none; }
.hero-decoration { position: absolute; z-index: -1; border: 1px solid rgba(11,59,78,.07); transform: rotate(45deg); pointer-events: none; }
.hero-decoration-one { width: 480px; height: 480px; right: -340px; top: -200px; }
.hero-decoration-two { width: 250px; height: 250px; left: -170px; bottom: -170px; }
.hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; min-height: 646px; gap: min(5vw,80px); padding-block: 60px 65px; }
.hero-copy { position: relative; z-index: 2; padding-block: 30px; }
.eyebrow { margin-bottom: 25px; color: var(--navy-soft); }
.eyebrow-end { color: #78838b; font-size: 10px; letter-spacing: .085em; }
h1,h2,h3,p { margin-top: 0; }
h1,h2,h3 { text-wrap: balance; }
.hero h1 { font-size: clamp(54px,5.2vw,83px); line-height: 1.035; letter-spacing: -.064em; font-weight: 800; color: var(--navy); margin-bottom: 24px; max-width: 740px; }
.hero h1 em { font-style: normal; color: var(--orange-dark); }
.hero-h1-connector { color: var(--navy); }
.hero-description { max-width: 410px; color: #62737c; line-height: 1.8; font-size: clamp(16px,1.45vw,18px); margin-bottom: 30px; }
.hero-description strong { color: var(--navy); font-weight: 740; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 24px; }
.hero-footnote { display: flex; align-items: center; gap: 13px; font-size: 12px; font-weight: 650; color: #8a9599; letter-spacing: .045em; margin-top: 48px; }
.hero-footnote-rule { width: 31px; height: 1px; background: #a6b2b7; }
.hero-visual { position: relative; height: 525px; width: 100%; min-width: 0; }
.hero-visual-grid { position: absolute; inset: 35px 0 0 52px; opacity: .58; background-image: linear-gradient(rgba(12,53,73,.12) 1px,transparent 1px),linear-gradient(90deg,rgba(12,53,73,.12) 1px,transparent 1px); background-size: 28px 28px; mask-image: linear-gradient(to right,transparent 0%,#000 36%,#000 85%,transparent 100%); }
.hero-visual::before { content: ''; position: absolute; width: 230px; height: 230px; border: 15px solid rgba(231,139,52,.14); border-right-color: transparent; bottom: 12px; left: 12px; }
.hero-visual::after { content: ''; position: absolute; z-index: -1; right: 5px; top: 15px; width: 280px; height: 280px; border: 1px solid rgba(8,56,80,.14); transform: translate(18px, -12px); }
.hero-photo { position: absolute; background: var(--paper); padding: 8px; border: 1px solid rgba(11,51,75,.23); box-shadow: 0 30px 55px rgba(11,42,60,.12); overflow: visible; }
.hero-photo img { height: 100%; width: 100%; object-fit: cover; background: #dbe1e0; }
.hero-photo-top { z-index: 1; top: 8px; left: 4%; width: 60%; height: 345px; transform: rotate(-2deg); }
.hero-photo-bottom { z-index: 2; bottom: 0; right: 0; width: 61%; height: 346px; transform: rotate(2deg); }
.hero-photo-bottom .hero-photo-caption { left: auto; right: 18px; }
.hero-photo-caption { display: flex; align-items: center; position: absolute; bottom: 17px; left: 20px; background: rgba(6,35,51,.94); color: #fff; padding: 11px 12px; font-size: 11px; font-weight: 700; letter-spacing: .025em; box-shadow: 0 5px 15px rgba(0,0,0,.08); }
.visual-seal { position: absolute; z-index: 4; right: 39%; bottom: 23px; width: 111px; height: 111px; border-radius: 50%; color: var(--navy); border: 5px solid #f9f8f3; background: var(--orange); box-shadow: 0 13px 25px rgba(8,42,58,.18); display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 7px; transform: rotate(-7deg); }
.visual-seal span:last-child { text-align: center; font-size: 11px; font-weight: 850; line-height: 1.35; letter-spacing: .03em; }
.seal-line { width: 27px; height: 2px; background: var(--navy); }
.hero-bottom-bar { display: grid; grid-template-columns: 1fr 3fr 1fr; height: 5px; }
.hero-bottom-bar span:first-child,.hero-bottom-bar span:last-child { background: var(--orange); }
.hero-bottom-bar span:nth-child(2) { background: var(--navy); }

/* Affinity strip */
.intro-strip { background: var(--navy); color: #fff; }
.intro-strip-inner { display: flex; justify-content: space-around; align-items: center; min-height: 91px; gap: 16px; }
.strip-item { display: flex; align-items: center; gap: 13px; font-size: 13px; font-weight: 660; letter-spacing: .045em; }
.strip-dot { width: 7px; height: 7px; flex: none; transform: rotate(45deg); background: var(--orange); }
.strip-divider { height: 25px; width: 1px; background: rgba(255,255,255,.21); }

/* Services */
.services-section { background: #fff; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 28px; margin-bottom: 43px; }
.section-heading h2,.work-heading h2 { margin: 14px 0 0; font-size: clamp(38px,4vw,58px); letter-spacing: -.06em; line-height: 1.09; color: var(--navy); }
.section-heading h2 span,.work-heading h2 span { color: var(--orange-dark); }
.section-heading p { max-width: 320px; margin: 0 0 5px; color: var(--muted); font-size: 15px; line-height: 1.8; }
.services-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.service-card { position: relative; display: flex; flex-direction: column; min-height: 221px; background: #fbfbf9; border: 1px solid #e5e9e9; padding: 25px 27px 27px; isolation: isolate; transition: background .28s var(--ease), border-color .28s, transform .28s, box-shadow .28s; }
.service-card::before { content: ''; position: absolute; inset: 0 0 auto; background: var(--navy); height: 3px; transform: scaleX(0); transform-origin: left; transition: transform .28s var(--ease); }
.service-card:hover { transform: translateY(-5px); background: #fff; border-color: rgba(231,139,52,.5); box-shadow: 0 20px 40px rgba(9,45,64,.085); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon { width: 55px; height: 55px; display: grid; place-items: center; background: #f0f3f3; border: 1px solid #e7ebeb; color: var(--navy); margin-bottom: 25px; }
.service-icon svg { width: 31px; height: 31px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.service-number { position: absolute; right: 25px; top: 26px; font-size: 12px; font-weight: 750; letter-spacing: .12em; color: #acb7bc; }
.service-card h3 { font-size: clamp(17px,1.62vw,20px); font-weight: 750; line-height: 1.25; letter-spacing: -.025em; color: var(--navy); margin-bottom: 18px; max-width: 310px; }
.service-card h3 span { display: block; }
.service-card-line { display: block; margin-top: auto; height: 2px; width: 28px; background: var(--orange); transition: width .3s var(--ease); }
.service-card:hover .service-card-line { width: 58px; }
.services-contact-card { display: flex; flex-direction: column; justify-content: space-between; position: relative; min-height: 221px; overflow: hidden; background: var(--navy); color: #fff; padding: 29px; }
.services-contact-card::after { content:''; position: absolute; width: 190px; height: 190px; border: 1px solid rgba(255,255,255,.1); right: -90px; top: -80px; transform: rotate(45deg); }
.services-contact-label { color: #f3ab69; font-weight: 800; letter-spacing: .18em; font-size: 10px; }
.services-contact-card h3 { max-width: 240px; font-size: 28px; line-height: 1.13; letter-spacing: -.05em; margin: 6px 0 0; }
.services-contact-card a { display: grid; place-items: center; align-self: flex-end; width: 45px; height: 45px; background: var(--orange); color: var(--navy); transition: transform .25s, background .2s; }
.services-contact-card a:hover { background: #ffb66b; transform: translate(3px,-3px); }

/* Gallery */
.work-section { background: var(--warm); border-top: 1px solid #e7e8e4; }
.work-heading { text-align: center; margin-bottom: 45px; }
.work-heading .section-kicker { justify-content: center; }
.work-heading h2 { margin-bottom: 17px; }
.work-heading p { color: var(--muted); font-size: 15px; line-height: 1.7; margin: 0; }
.work-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 27px; }
.work-card { overflow: hidden; background: #fff; border: 1px solid #dddeda; box-shadow: 0 14px 34px rgba(21,54,66,.055); transition: transform .25s var(--ease),box-shadow .25s; }
.work-card:hover { transform: translateY(-5px); box-shadow: 0 19px 40px rgba(21,54,66,.12); }
.work-photo-button { position: relative; display: block; padding: 12px; width: 100%; border: 0; background: #fff; text-align: left; overflow: hidden; }
.work-photo-button::after { content: ''; position: absolute; z-index: 1; inset: 12px; border: 1px solid rgba(231,139,52,.45); box-shadow: inset 0 0 23px 11px rgba(247,247,244,.11); pointer-events: none; }
.work-card:nth-child(2) .work-photo-button::after { border-color: rgba(15,52,71,.45); }
.work-photo-button img { display: block; width: 100%; height: 405px; object-fit: cover; object-position: center; transition: transform .65s var(--ease), filter .5s; -webkit-mask-image: radial-gradient(ellipse 91% 95% at center, black 82%, rgba(0,0,0,.84) 97%, rgba(0,0,0,.75) 100%); mask-image: radial-gradient(ellipse 91% 95% at center, black 82%, rgba(0,0,0,.84) 97%, rgba(0,0,0,.75) 100%); }
.work-card:hover .work-photo-button img { transform: scale(1.035); }
.work-zoom { position: absolute; z-index: 2; right: 25px; bottom: 25px; display: flex; align-items: center; gap: 9px; font-size: 12px; font-weight: 720; color: #fff; background: rgba(7,39,56,.91); padding: 11px 13px; transition: background .2s; }
.work-photo-button:hover .work-zoom { background: var(--orange-dark); }
.work-zoom svg { width: 15px; height: 15px; }
.work-card-info { display: flex; align-items: center; gap: 16px; padding: 24px 25px 28px; border-top: 1px solid #eef0ef; }
.work-index { font-size: 11px; font-weight: 800; white-space: nowrap; color: var(--orange-dark); letter-spacing: .1em; }
.work-card-info h3 { flex: 1; font-size: 19px; line-height: 1.35; font-weight: 730; color: var(--navy); letter-spacing: -.025em; margin: 0; }
.work-marker { width: 18px; height: 18px; border-top: 2px solid var(--orange); border-right: 2px solid var(--orange); flex: none; }
.gallery-hint { margin: 23px 0 0; text-align: center; color: #809098; font-size: 12px; }

/* Contact */
.contact-section { background: var(--navy); color: #fff; position: relative; overflow: hidden; isolation: isolate; }
.contact-section::before { content: ''; position: absolute; width: 430px; height: 430px; top: -240px; right: -175px; border: 1px solid rgba(255,255,255,.13); border-radius: 50%; pointer-events: none; }
.contact-section::after { content: ''; position: absolute; width: 290px; height: 290px; bottom: -230px; left: -115px; border: 45px solid rgba(231,139,52,.08); border-radius: 50%; pointer-events: none; }
.contact-grid-pattern { position: absolute; inset: 0 0 0 40%; z-index: -1; opacity: .27; background-image: linear-gradient(rgba(205,226,235,.2) 1px,transparent 1px),linear-gradient(90deg,rgba(205,226,235,.2) 1px,transparent 1px); background-size: 35px 35px; mask-image: linear-gradient(90deg,transparent,#000); }
.contact-inner { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 6vw; padding-block: clamp(77px,8vw,111px); }
.kicker-light { color: #f0a45a; }
.contact-content h2 { max-width: 620px; margin: 22px 0 20px; font-size: clamp(41px,4.4vw,66px); letter-spacing: -.06em; line-height: 1.05; font-weight: 800; }
.contact-content h2 em { font-style: normal; color: #efa155; }
.contact-content p { color: #c4d2d8; line-height: 1.85; font-size: 15px; margin-bottom: 30px; }
.contact-card { min-width: 0; display: flex; flex-direction: column; position: relative; background: rgba(255,255,255,.055); border: 1px solid rgba(255,255,255,.23); padding: clamp(25px,3vw,40px); min-height: 260px; backdrop-filter: blur(4px); }
.contact-card-line { display: block; width: 45px; height: 3px; background: var(--orange); margin-bottom: 24px; }
.contact-card-label { font-size: 11px; letter-spacing: .22em; font-weight: 800; color: #f0aa68; }
.contact-card-icon { position: absolute; width: 34px; height: 34px; right: 37px; top: 32px; fill: none; stroke: #a0bcc8; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.contact-phone { display: inline-block; margin-top: 15px; font-size: clamp(20px,2.3vw,31px); font-weight: 750; letter-spacing: -.045em; overflow-wrap: anywhere; color: #fff; transition: color .2s; }
.contact-phone:hover { color: #f1ad6f; }
.contact-card-foot { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 43px; color: #b3c4cc; font-size: 12px; }
.contact-card-foot svg { color: var(--orange); }

/* Footer */
.site-footer { background: var(--navy-deep); color: #fff; border-top: 4px solid var(--orange); }
.footer-top { display: flex; justify-content: space-between; align-items: center; gap: 25px; padding-block: 46px; }
.footer-brand { display: inline-block; font-size: 24px; font-weight: 900; letter-spacing: -.045em; }
.footer-brand span { color: var(--orange); }
.footer-top p { margin: 8px 0 0; color: #b5c6cf; font-size: 13px; }
.footer-top nav { display: flex; flex-wrap: wrap; gap: 23px; }
.footer-top nav a { font-size: 13px; color: #c8d3d8; transition: color .2s; }
.footer-top nav a:hover,.footer-bottom a:hover { color: var(--orange); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 15px; padding-block: 23px; border-top: 1px solid rgba(255,255,255,.12); font-size: 12px; color: #8fa8b4; }
.footer-bottom a { transition: color .2s; }
.floating-contact { position: fixed; bottom: 25px; right: 25px; z-index: 80; display: flex; align-items: center; gap: 9px; background: var(--orange); color: #0b3046; border: 1px solid rgba(8,48,70,.14); box-shadow: 0 13px 35px rgba(0,0,0,.18); font-size: 13px; font-weight: 800; padding: 14px 16px; transition: transform .2s,background .2s; }
.floating-contact:hover { transform: translateY(-4px); background: #ffc085; }
.floating-contact svg { width: 18px; height: 18px; }

/* Accessible image dialog */
.gallery-dialog { position: fixed; width: min(93vw,760px); max-width: 760px; max-height: min(92vh,900px); padding: 0; margin: auto; border: 1px solid rgba(255,255,255,.25); background: #fff; color: var(--navy); box-shadow: 0 25px 90px rgba(0,0,0,.45); overflow: visible; }
.gallery-dialog:not([open]) { display: none; }
.gallery-dialog::backdrop { background: rgba(3,23,36,.88); backdrop-filter: blur(7px); }
.lightbox-inner { position: relative; padding: 14px 14px 0; }
.lightbox-close { position: absolute; z-index: 2; top: -22px; right: -21px; display: grid; place-items: center; width: 43px; height: 43px; background: var(--orange); color: var(--navy); border: 0; box-shadow: 0 4px 12px rgba(0,0,0,.15); }
.lightbox-close:hover { background: #ffbf7e; }
.lightbox-photo { background: #f5f6f4; display: flex; justify-content: center; align-items: center; max-height: calc(86vh - 115px); min-height: 180px; overflow: hidden; }
.lightbox-photo img { display: block; max-width: 100%; max-height: calc(86vh - 115px); width: auto; height: auto; object-fit: contain; }
.lightbox-bottom { display: grid; grid-template-columns: 46px 1fr 46px; gap: 15px; align-items: center; padding-block: 14px; }
.lightbox-arrow { border: 1px solid #dce2e2; background: #f7f8f7; color: var(--navy); width: 43px; height: 43px; display: grid; place-items: center; }
.lightbox-arrow:hover { background: #e7edec; }
.lightbox-meta { text-align: center; min-width: 0; }
.lightbox-meta span { display: block; font-size: 11px; font-weight: 800; letter-spacing: .15em; color: var(--orange-dark); }
.lightbox-meta p { margin: 4px 0 0; font-size: 14px; font-weight: 730; line-height: 1.25; }

/* Interactions are progressive enhancement: content remains visible without JS. */
.js .reveal { opacity: .97; transform: translateY(12px); transition: opacity .7s var(--ease),transform .7s var(--ease); transition-delay: var(--item-delay,0ms); }
.js .reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1100px) {
  .container { width: min(var(--container),calc(100% - 52px)); }
  .header-inner { min-height: 88px; }
  .brand { width: 163px; }
  .desktop-nav { gap: 16px; }
  .nav-link { font-size: 12px; }
  .header-cta { padding: 12px 13px; }
  .hero-inner { gap: 22px; min-height: 590px; }
  .hero h1 { font-size: clamp(48px,5.25vw,70px); }
  .hero-visual { height: 465px; }
  .hero-photo-top { height: 300px; }
  .hero-photo-bottom { height: 295px; }
  .visual-seal { width: 90px; height: 90px; right: 40%; }
  .visual-seal span:last-child { font-size: 9px; }
  .work-photo-button img { height: 345px; }
}
@media (max-width: 820px) {
  html { scroll-padding-top: 78px; }
  .header-inner { min-height: 81px; justify-content: space-between; }
  .brand { width: 150px; }
  .desktop-nav,.header-cta { display: none; }
  .menu-toggle { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; background: var(--navy); border: 1px solid var(--navy); width: 45px; height: 45px; }
  .menu-line { display: block; width: 20px; height: 2px; background: #fff; transition: transform .25s,opacity .2s; }
  .menu-toggle[aria-expanded="true"] .menu-line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-line:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] .menu-line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .mobile-nav { display: grid; position: absolute; top: 100%; left: 0; right: 0; padding: 8px max(26px,calc((100% - 1200px)/2)) 25px; background: #fff; border-top: 1px solid #eee; box-shadow: 0 25px 35px rgba(6,35,51,.14); opacity: 0; visibility: hidden; transform: translateY(-9px); transition: opacity .22s,transform .22s,visibility .22s; }
  .mobile-nav.open { opacity: 1; visibility: visible; transform: translateY(0); }
  .mobile-nav a { display: flex; justify-content: space-between; align-items: center; width: 100%; font-size: 15px; font-weight: 650; padding: 15px 6px; border-bottom: 1px solid #ecefee; }
  .mobile-nav .mobile-whatsapp { margin-top: 12px; padding: 15px 18px; border: 0; background: var(--navy); color: #fff; }
  .hero-inner { grid-template-columns: 1fr; gap: 8px; padding-block: 58px 50px; }
  .hero-copy { padding: 0; }
  .hero h1 { font-size: clamp(54px,8.1vw,77px); max-width: 680px; }
  .hero-description { max-width: 540px; }
  .hero-footnote { margin-top: 28px; }
  .hero-visual { width: min(100%,650px); height: 490px; justify-self: center; }
  .hero-photo-top { left: 8%; width: 55%; height: 340px; }
  .hero-photo-bottom { right: 8%; width: 55%; height: 330px; }
  .visual-seal { bottom: 20px; right: 42%; }
  .intro-strip-inner { min-height: 88px; }
  .strip-item { font-size: 12px; }
  .services-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .service-card,.services-contact-card { min-height: 206px; }
  .service-card h3 { font-size: 19px; }
  .work-photo-button img { height: 300px; }
  .work-card-info { flex-wrap: wrap; gap: 8px 12px; padding: 18px; }
  .work-card-info h3 { font-size: 17px; }
  .work-marker { display: none; }
  .contact-inner { grid-template-columns: 1fr; gap: 40px; }
  .contact-card { max-width: 540px; }
}
@media (max-width: 590px) {
  html { scroll-padding-top: 75px; }
  .container { width: calc(100% - 36px); }
  .header-inner { min-height: 76px; }
  .brand { width: 143px; }
  .section-padding { padding-block: 76px; }
  .eyebrow { gap: 9px; font-size: 10px; letter-spacing: .15em; margin-bottom: 20px; }
  .eyebrow-end { display: none; }
  .hero-inner { padding-block: 45px 42px; }
  .hero h1 { font-size: clamp(42px,10.5vw,61px); letter-spacing: -.059em; margin-bottom: 23px; }
  .hero-description { font-size: 16px; line-height: 1.7; margin-bottom: 23px; }
  .hero-actions { align-items: stretch; gap: 13px 19px; }
  .button { min-height: 56px; padding: 15px 18px; font-size: 13px; }
  .hero-actions .button { width: 100%; justify-content: space-between; }
  .hero-footnote { margin-top: 24px; font-size: 11px; }
  .hero-visual { height: 340px; margin-top: 14px; }
  .hero-visual-grid { inset: 16px 2px 0 20px; background-size: 22px 22px; }
  .hero-photo { padding: 6px; }
  .hero-photo-top { top: 3px; left: 1%; height: 236px; width: 59%; }
  .hero-photo-bottom { bottom: 2px; right: 1%; height: 230px; width: 59%; }
  .hero-photo-caption { padding: 6px 8px; font-size: 9px; bottom: 13px; left: 13px; }
  .visual-seal { height: 70px; width: 70px; border-width: 3px; bottom: 9px; right: 43%; }
  .visual-seal span:last-child { font-size: 7px; }
  .seal-line { width: 18px; }
  .hero-visual::before { width: 130px; height: 130px; border-width: 9px; }
  .intro-strip-inner { min-height: 90px; flex-wrap: wrap; justify-content: center; gap: 9px 16px; padding-block: 18px; }
  .strip-item { font-size: 11px; }
  .strip-divider { height: 14px; }
  .section-heading { display: block; margin-bottom: 28px; }
  .section-heading h2,.work-heading h2 { font-size: clamp(36px,10vw,48px); }
  .section-heading p { font-size: 14px; line-height: 1.65; margin-top: 14px; }
  .section-heading p br { display: none; }
  .services-grid { grid-template-columns: 1fr; gap: 12px; }
  .service-card { min-height: 161px; padding: 20px 21px; }
  .service-icon { margin-bottom: 15px; width: 43px; height: 43px; }
  .service-icon svg { width: 26px; height: 26px; }
  .service-card h3 { font-size: 18px; max-width: 290px; margin-bottom: 12px; }
  .service-number { right: 20px; top: 20px; }
  .services-contact-card { min-height: 194px; }
  .work-heading { margin-bottom: 31px; }
  .work-grid { grid-template-columns: 1fr; gap: 20px; }
  .work-photo-button { padding: 9px; }
  .work-photo-button::after { inset: 9px; }
  .work-photo-button img { height: min(85vw,400px); }
  .work-card-info { padding: 19px; }
  .work-card-info h3 { font-size: 18px; }
  .contact-inner { padding-block: 77px; }
  .contact-content h2 { font-size: clamp(41px,9vw,53px); }
  .contact-content p { font-size: 14px; }
  .contact-content .button { white-space: normal; justify-content: space-between; width: 100%; }
  .contact-card { min-height: 215px; padding: 25px; }
  .contact-card-icon { top: 26px; right: 25px; width: 26px; height: 26px; }
  .contact-phone { font-size: clamp(22px,5.5vw,30px); }
  .footer-top { align-items: flex-start; flex-direction: column; gap: 25px; padding-block: 40px; }
  .footer-top nav { gap: 13px 24px; }
  .footer-top nav a { padding-block: 6px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; line-height: 1.5; padding-block: 20px 30px; }
  .floating-contact { right: 15px; bottom: 15px; padding: 14px; }
  .floating-contact span { display: none; }
  .floating-contact svg { width: 22px; height: 22px; }
  .lightbox-inner { padding: 9px 9px 0; }
  .lightbox-close { right: -9px; }
  .lightbox-bottom { gap: 8px; padding-block: 11px; }
  .lightbox-meta p { font-size: 12px; }
}
@media (max-width: 370px) {
  .hero h1 { font-size: 39px; }
  .hero-visual { height: 289px; }
  .hero-photo-top { height: 201px; }
  .hero-photo-bottom { height: 198px; }
  .visual-seal { width: 60px; height: 60px; }
  .hero-photo-caption { font-size: 8px; }
  .strip-divider { display: none; }
  .strip-item { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,*::before,*::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1 !important; transform: none !important; }
}
