/* ============================================
   CORPIX PHOTOGRAPHY — SHARED STYLESHEET
   ============================================ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --black:       #111111;
  --dark:        #1A1A1A;
  --white:       #FFFFFF;
  --warm-white:  #FAFAF8;
  --cream:       #F5F2EE;
  --border:      #E2DED8;
  --border-light:#EEEAE4;
  --gold:        #B8974C;
  --gold-light:  #D4B068;
  --text-dark:   #1A1A1A;
  --text-body:   #565656;
  --text-muted:  #8A8A8A;
  --text-light:  #B0A899;
  --font-display:'Cormorant Garamond','Georgia',serif;
  --font-body:   'Poppins','Helvetica Neue',sans-serif;
  --section-pad: clamp(72px,9vw,120px);
  --ease:        cubic-bezier(0.25,0.46,0.45,0.94);
  --ease-out:    cubic-bezier(0.16,1,0.3,1);
}

html { scroll-behavior:smooth; -webkit-font-smoothing:antialiased; color-scheme:light; }
body { font-family:var(--font-body); font-weight:400; color:var(--text-dark); background:var(--white); line-height:1.6; overflow-x:hidden; }
img  { max-width:100%; height:auto; display:block; }
a    { text-decoration:none; color:inherit; }
button { border:none; background:none; cursor:pointer; font-family:inherit; }

.container { max-width:1280px; margin:0 auto; padding:0 clamp(20px,5vw,64px); }

/* Typography */
.display-xl { font-family:var(--font-display); font-weight:500; font-size:clamp(2.6rem,5vw,4.8rem); line-height:1.05; letter-spacing:-0.02em; text-wrap:balance; }
.display-lg { font-family:var(--font-display); font-weight:500; font-size:clamp(1.9rem,3.2vw,3.2rem); line-height:1.1; letter-spacing:-0.01em; text-wrap:balance; }
.display-md { font-family:var(--font-display); font-weight:500; font-size:clamp(1.4rem,2vw,2rem); line-height:1.2; text-wrap:balance; }
.label { font-family:var(--font-body); font-weight:600; font-size:0.68rem; letter-spacing:0.18em; text-transform:uppercase; color:var(--gold); }
.section { padding:var(--section-pad) 0; }
.section--cream { background:var(--cream); }
.section--warm  { background:var(--warm-white); }
.divider { width:40px; height:1px; background:var(--gold); margin:16px 0; }
.section__desc { color:var(--text-body); max-width:540px; font-size:0.9375rem; line-height:1.75; font-weight:300; text-wrap:balance; }

/* Buttons */
.btn { display:inline-flex; align-items:center; gap:10px; font-family:var(--font-body); font-weight:500; font-size:0.72rem; letter-spacing:0.12em; text-transform:uppercase; padding:14px 32px; transition:all 0.3s var(--ease); cursor:pointer; }
.btn--primary { background:var(--gold); color:var(--white); border:1px solid var(--gold); }
.btn--primary:hover { background:var(--gold-light); border-color:var(--gold-light); transform:translateY(-2px); }
.btn--outline { border:1px solid var(--dark); color:var(--dark); }
.btn--outline:hover { background:var(--gold); color:var(--white); border-color:var(--gold); }
.btn--outline-gold { border:1px solid var(--gold); color:var(--gold); }
.btn--outline-gold:hover { background:var(--gold); color:var(--white); }
.btn--arrow::after { content:'→'; transition:transform 0.3s var(--ease); }
.btn--arrow:hover::after { transform:translateX(4px); }
.btn--phone::before { content:'📞'; font-size:0.8em; }

/* ============================================
   HEADER
   ============================================ */
.header { position:fixed; top:0; left:0; right:0; z-index:100; padding:18px 0; background:rgba(255,255,255,0.97); backdrop-filter:blur(16px); border-top:3px solid var(--gold); border-bottom:1px solid var(--border-light); transition:all 0.4s var(--ease); }
.header--scrolled { padding:12px 0; box-shadow:0 1px 24px rgba(0,0,0,0.06); }
.header__inner { display:flex; align-items:center; justify-content:space-between; gap:24px; }
.header__logo { font-family:var(--font-display); font-weight:600; font-size:1.4rem; color:var(--dark); letter-spacing:0.08em; text-transform:uppercase; white-space:nowrap; }
.header__logo span { color:var(--gold); }
.header__logo img { height:42px; width:auto; display:block; }
.header__nav { display:flex; align-items:center; gap:28px; }
.header__nav a { font-size:0.72rem; color:var(--text-muted); letter-spacing:0.08em; text-transform:uppercase; font-weight:500; transition:color 0.25s; position:relative; white-space:nowrap; }
.header__nav a::after { content:''; position:absolute; bottom:-4px; left:0; width:0; height:1px; background:var(--gold); transition:width 0.3s var(--ease); }
.header__nav a:hover,
.header__nav a.active { color:var(--dark); }
.header__nav a:hover::after,
.header__nav a.active::after { width:100%; }
.header__nav .has-dropdown { position:relative; }
.header__nav .has-dropdown > a::after { display:none; }
.header__nav .has-dropdown > a .arrow { margin-left:4px; font-size:0.6rem; transition:transform 0.3s; display:inline-block; }
.header__nav .has-dropdown:hover > a .arrow { transform:rotate(180deg); }
.dropdown { position:absolute; top:calc(100% + 12px); left:50%; transform:translateX(-50%); background:var(--white); border:1px solid var(--border); box-shadow:0 8px 32px rgba(0,0,0,0.08); min-width:200px; opacity:0; visibility:hidden; transition:all 0.3s var(--ease); }
.has-dropdown:hover .dropdown { opacity:1; visibility:visible; top:calc(100% + 8px); }
.dropdown a { display:block; padding:10px 20px; font-size:0.72rem; color:var(--text-muted); letter-spacing:0.06em; text-transform:uppercase; font-weight:500; border-bottom:1px solid var(--border-light); transition:all 0.2s; }
.dropdown a:last-child { border-bottom:none; }
.dropdown a:hover { background:var(--cream); color:var(--dark); padding-left:28px; }
.header__quote { font-size:0.7rem; padding:10px 22px; background:var(--gold); color:var(--white); letter-spacing:0.08em; text-transform:uppercase; font-weight:600; transition:all 0.3s; white-space:nowrap; }
.header__quote:hover { background:var(--gold-light); }
.header__toggle { display:none; flex-direction:column; gap:5px; cursor:pointer; padding:8px; }
.header__toggle span { width:22px; height:1.5px; background:var(--dark); transition:all 0.3s; }

/* ============================================
   PAGE HERO (inner pages — shorter)
   ============================================ */
.page-hero { position:relative; height:clamp(300px,38vw,460px); display:flex; align-items:flex-end; padding-bottom:clamp(36px,4.5vw,56px); overflow:hidden; }
.page-hero__bg { position:absolute; inset:0; background-size:cover; background-position:center 25%; }
.page-hero__overlay { position:absolute; inset:0; background:linear-gradient(to top, rgba(0,0,0,0.78) 0%, rgba(0,0,0,0.38) 38%, rgba(0,0,0,0.06) 72%, rgba(0,0,0,0) 100%); }
.page-hero__content { position:relative; z-index:2; }
.page-hero__label { margin-bottom:10px; color:var(--gold); }
.page-hero__title { color:var(--white); }

/* ============================================
   CALL TO QUOTE BANNER
   ============================================ */
.quote-banner { background:var(--dark); padding:clamp(48px,6vw,80px) 0; }
.quote-banner__inner { display:flex; align-items:center; justify-content:space-between; gap:32px; flex-wrap:wrap; }
.quote-banner__text h2 { font-family:var(--font-display); font-size:clamp(1.6rem,2.5vw,2.4rem); color:var(--white); margin-bottom:8px; }
.quote-banner__text p { color:rgba(255,255,255,0.55); font-size:0.9375rem; font-weight:300; }
.quote-banner__actions { display:flex; align-items:center; gap:16px; flex-wrap:wrap; }
.quote-banner__phone { display:flex; flex-direction:column; }
.quote-banner__phone-label { font-size:0.62rem; letter-spacing:0.15em; text-transform:uppercase; color:var(--gold); font-weight:600; margin-bottom:4px; }
.quote-banner__phone-num { font-family:var(--font-display); font-size:1.8rem; color:var(--white); font-weight:500; letter-spacing:0.02em; }
.quote-banner__phone-num a { color:var(--white); transition:color 0.2s; }
.quote-banner__phone-num a:hover { color:var(--gold); }

/* ============================================
   FOOTER
   ============================================ */
.footer { background:var(--dark); padding:60px 0 28px; }
.footer__grid { display:grid; grid-template-columns:2fr 1fr 1fr 1fr; gap:48px; margin-bottom:44px; }
.footer__brand-name { font-family:var(--font-display); font-weight:600; font-size:1.25rem; color:var(--white); letter-spacing:0.08em; text-transform:uppercase; margin-bottom:12px; }
.footer__brand-name span { color:var(--gold); }
.footer__logo-img { height:40px; width:auto; background:#fff; padding:6px 10px; border-radius:4px; display:block; }
.footer__brand-desc { color:rgba(255,255,255,0.65); font-size:0.85rem; line-height:1.65; max-width:300px; margin-bottom:22px; font-weight:300; }
.footer__social { display:flex; gap:10px; }
.footer__social a { width:32px; height:32px; display:flex; align-items:center; justify-content:center; border:1px solid rgba(255,255,255,0.1); color:rgba(255,255,255,0.35); font-size:0.7rem; font-weight:600; transition:all 0.3s; }
.footer__social a:hover { border-color:var(--gold); color:var(--gold); }
.footer__col-title { font-size:0.62rem; letter-spacing:0.15em; text-transform:uppercase; color:var(--gold); margin-bottom:18px; font-weight:600; }
.footer__links { list-style:none; display:flex; flex-direction:column; gap:10px; }
.footer__links a { font-size:0.85rem; color:rgba(255,255,255,0.65); transition:color 0.3s; font-weight:300; }
.footer__links a:hover { color:var(--white); }
.footer__links li { font-size:0.85rem; color:rgba(255,255,255,0.65); font-weight:300; }
.footer__bottom { padding-top:24px; border-top:1px solid rgba(255,255,255,0.07); display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:12px; }
.footer__copy { font-size:0.75rem; color:rgba(255,255,255,0.55); font-weight:300; }
.footer__legal { display:flex; gap:20px; }
.footer__legal a { font-size:0.75rem; color:rgba(255,255,255,0.55); transition:color 0.3s; }
.footer__legal a:hover { color:rgba(255,255,255,0.6); }

/* Scroll reveal */
.reveal { opacity:0; transform:translateY(24px); transition:opacity 0.75s var(--ease-out), transform 0.75s var(--ease-out); }
.reveal--visible { opacity:1; transform:translateY(0); }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width:1024px) {
  .footer__grid { grid-template-columns:1fr 1fr; }
  .quote-banner__inner { flex-direction:column; text-align:center; }
  .quote-banner__actions { justify-content:center; }
}
@media (max-width:768px) {
  .header { border-top-width:4px; padding:14px 0; }
  .header__inner { justify-content:center; position:relative; gap:0; }
  .header__logo { margin:0 auto; }
  .header__logo img { height:38px; }
  .header__nav, .header__quote { display:none; }
  .header__toggle { display:flex; position:absolute; right:clamp(20px,5vw,64px); top:50%; transform:translateY(-50%); }
  .footer__grid { grid-template-columns:1fr; }
  .footer__bottom { flex-direction:column; text-align:center; }
}
/* Mobile nav open state */
.header__nav.nav-open { display:flex; flex-direction:column; align-items:stretch; position:absolute; top:100%; left:0; right:0; background:var(--white); border-top:1px solid var(--border-light); border-bottom:3px solid var(--gold); padding:8px clamp(20px,5vw,40px) 20px; box-shadow:0 12px 40px rgba(0,0,0,0.08); gap:0; z-index:200; }
.header__nav.nav-open a { padding:14px 4px; width:100%; font-size:0.78rem; letter-spacing:0.1em; border-bottom:1px solid var(--border-light); color:var(--dark); }
.header__nav.nav-open a::after { display:none; }
.header__nav.nav-open a:last-child, .header__nav.nav-open .has-dropdown:last-child > a { border-bottom:none; }
.header__nav.nav-open .has-dropdown { display:flex; flex-direction:column; width:100%; }
.header__nav.nav-open .has-dropdown > a { width:100%; padding:14px 4px; }
.header__nav.nav-open .has-dropdown > a .arrow { float:right; }
.header__nav.nav-open .dropdown { position:static; opacity:1; visibility:visible; transform:none; box-shadow:none; border:none; background:var(--cream); margin:0 -4px 8px; min-width:0; }
.header__nav.nav-open .dropdown a { padding:10px 18px; font-size:0.7rem; border-bottom:1px solid rgba(0,0,0,0.04); }
.header__toggle.open span:nth-child(1) { transform:rotate(45deg) translate(4px,5px); }
.header__toggle.open span:nth-child(2) { opacity:0; }
.header__toggle.open span:nth-child(3) { transform:rotate(-45deg) translate(4px,-5px); }