/* ===========================================================================
   Allreds Web Design — Contact Page Styles (cleaned)
   ---------------------------------------------------------------------------
   INLINE "A" LOGO — how to adjust:

   1) Global size (mobile-first):
      :root { --a-scale: 1.12; }         // ↑ bigger, ↓ smaller

   2) Tablet / Desktop refinements:
      @media (min-width: 768px)  { :root { --a-scale: 1.18; } }
      @media (min-width: 1200px) { :root { --a-scale: 1.24; } }

   3) Nudge position without changing size:
      :root {
        --a-shift-x: 0.02em;   // + moves right, - moves left
        --a-shift-y: -50%;     // more negative = moves up, positive = down
      }

   4) How much inline space the A occupies:
      .logo-wrap { width: 0.85em; }      // increase if the A feels cramped

   Everything else is the same as your file; only duplicate/conflicting
   .logo-wrap / .inline-logo rules were removed and the logo block simplified.
   =========================================================================== */
 
    
  
:root {
  /* === Inline "A" logo sizing (edit here) =============================== */
--a-scale: .85;     /* base logo scale vs cap height on mobile */
 --a-shift-x: 0.08em; /* horizontal nudge so A sits into the “ll” */
  --a-shift-y: -33%;  /* vertical centering tweak */

  /* === Existing theme tokens ============================================ */
  --bg: #ffffff;
  --soft: #F2F2F2;
  --text: #0B0C10;
  --muted: #5b6470;
  --accent: #4EC6E8; --accent-rgb: 78,198,232;
  --cta: #E94E1B; --cta-600: #C74412; --cta-rgb: 233,78,27;
  --ring: rgba(var(--cta-rgb),0.35);
  --shadow: 0 8px 24px rgba(0,0,0,0.08);
  --warm: #FFB357; /* warm highlight for “Succeed” */
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
}

img { max-width: 100%; display: block; border-radius: 12px; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }

/* Wider max widths for large desktops */
.container { width: min(1280px, 92%); margin: 0 auto; }
@media (min-width: 1600px) { .container { width: min(1440px, 90%); } }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: #0B0C10;
  color: #fff;
  backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; }
.site-header .logo { display: inline-flex; align-items: center; }
.site-header .logo-img { height: 40px; width: auto; display: block; }
.logo { font-family: Montserrat, sans-serif; font-weight: 800; letter-spacing: -0.5px; }
.logo span { color: var(--accent); }
.nav-toggle { background: transparent; border: 0; padding: 8px; display: inline-flex; align-items: center; cursor: pointer; }
.site-header .nav-toggle, .site-header .nav-toggle svg { color: #fff; }
.nav-menu { display: none; gap: 14px; align-items: center; }
.nav-link { padding: 8px 10px; border-radius: 10px; color: rgba(255,255,255,0.9); }
.nav-link:hover, .nav-link:focus { color: var(--accent); }
.nav-link.active { color: var(--accent); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 18px; border-radius: 12px; font-weight: 600; transition: transform .15s ease, box-shadow .2s ease, background .2s ease; }
.btn:hover, .btn:focus { color: #fff; }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--cta); color: #fff; box-shadow: 0 8px 20px rgba(var(--cta-rgb),.25); }
.btn-primary:hover { background: var(--cta-600); }
.btn-secondary { background: transparent; color: var(--warm); border: 2px solid var(--warm); }
.btn-secondary:hover { background: var(--warm); color: #fff; }
.btn-outline { border: 1px solid rgba(0,0,0,0.12); }
.btn-pulse { animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%,100%{ box-shadow: 0 0 0 0 rgba(var(--cta-rgb),0.35);} 50%{ box-shadow: 0 0 0 10px rgba(233,78,27,0);} }

/* Sections */
.section { padding: 100px 0; }
.bg-soft { background: var(--soft); }
.section-title {text-align: center; font-family: Montserrat, sans-serif; font-size: clamp(28px, 3.5vw, 90px); margin: 0 0 18px; letter-spacing: -0.5px; }
.section-subtitle { margin-top: -6px; margin-bottom: 16px; }
.muted { text-align: center; 
  color: rgba(224, 218, 218, 0.901); }

/* ===================== */
/* ======= HERO ======== */
/* ===================== */
.hero .hero-inner { display: grid; gap: 28px; align-items: center; }

/* Home hero */
.home-hero { position:relative; padding:96px 0 80px; color:#fff; overflow:clip; }
.home-hero::before{content:"";position:absolute;inset:0;background:
 radial-gradient(680px 360px at 20% 15%, rgba(255,188,117,.35), transparent 60%),
 radial-gradient(760px 420px at 80% 35%, rgba(255,126,95,.22), transparent 60%),
 radial-gradient(900px 500px at 50% 105%, rgba(var(--accent-rgb),.18), transparent 60%),
 linear-gradient(180deg, #0B0C10 0%, #111419 100%);}
.home-hero .hero-inner{position:relative;z-index:1;place-items:center;text-align:center;}
.home-hero .hero-title{color:#fff;}
.home-hero .hero-subtext{color:rgba(255,255,255,0.9);}
.home-hero .trust-item{color:rgba(255,255,255,0.86);}
.home-hero .trust-item span{color:rgba(255,255,255,0.92);}

/* Services page hero background */
.services-hero {
  position:relative; padding:96px 0 64px; color:#fff; overflow:clip;
  background-image:url("../images/featured-services-bg.png");
  background-position:center; background-size:cover; background-repeat:no-repeat;
}
.services-hero::before{
  content:""; position:absolute; inset:0;
  background:
    linear-gradient(180deg, rgba(255,159,63,.28) 0%, rgba(17,20,25,.88) 36%, rgba(17,20,25,1) 100%),
    rgba(0,0,0,.35); mix-blend-mode:multiply;
}
.services-hero::after{
  content:""; position:absolute; top:0; left:0; right:0; height:72px;
  background:linear-gradient(to bottom, rgba(0,0,0,0.6), rgba(0,0,0,0)); pointer-events:none;
}
.services-hero .hero-inner{position:relative;z-index:1;text-align:center;}
.services-hero .hero-title{color:#fff;}
.services-hero .hero-subtext{color:rgba(255,255,255,0.9);}

/* Headline styling */
.hero-title,
#hero-home-title {
  font-family: Montserrat, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 0.95;
  margin: 0 0 14px;
  font-size: clamp(34px, 7vw, 60px);
}
.hero-title .line { display: block; }
.hero-title .hl { color: var(--warm); }

/* Constrain text width for readability */
.home-hero .hero-content,
.services-hero .hero-inner { max-width: 1200px; margin-inline: auto; }
.home-hero .hero-subtext,
.services-hero .hero-subtext { max-width: 980px; margin: 0 auto 22px; font-size: clamp(16px, 1.4vw, 22px); }

.hero-ctas { display: flex; gap: 12px; align-items: center; justify-content: center; }
.hero-trust { display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0,1fr)); margin-top: 16px; justify-items: center; }

.hero-visual img { width: 100%; aspect-ratio: 16/10; object-fit: cover; object-position: center; box-shadow: var(--shadow); border-radius: 18px; }

/* ===================== */
/* ===== END HERO ====== */
/* ===================== */


/* Scaled Pricing section */
.scaled-pricing {
  position: relative;
  color: #fff;
  overflow: clip;
  background: linear-gradient(180deg, #0B0C10, #111419);
}
.scaled-pricing::before{
  content:"";
  position:absolute; inset:0;
  background:
    radial-gradient(600px 300px at 15% 10%, rgba(255,188,117,.28), transparent 60%),
    radial-gradient(700px 400px at 85% 30%, rgba(255,126,95,.18), transparent 60%);
}
.scaled-pricing > .container { position: relative; z-index: 1; }
.scaled-pricing .section-title { color:#fff; }

/* Cards inside pricing */
.scaled-pricing .card.plan{
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(4px);
}
.scaled-pricing .card.plan h3,
.scaled-pricing .card.plan p,
.scaled-pricing .card.plan li { color:#fff; }

.plan-badge{
  display:inline-block;
  font-size:12px; font-weight:700; letter-spacing:.08em; text-transform:uppercase;
  color:#111419; background:#FFB357; border-radius:999px; padding:6px 10px; margin-bottom:8px;
}
.plan-badge.hot{ background:linear-gradient(135deg,#FF9F3F,#FF7E5F); color:#fff; }
.price{ margin:10px 0 8px; }
.btn-primary.hot{ background:linear-gradient(135deg,#FF9F3F,#FF7E5F)!important ; color:#fff; }
.price{ margin:10px 0 8px; }
/* Uniform card heights */
.cards-3 .card.plan { display:flex; flex-direction:column; height:100%; }
.card.plan .bullet-list { margin-bottom:auto; }
.card.plan .btn { margin-top:16px; }

/* Why cards */
.grid { display: grid; gap: 16px; }
.grid.cards-3 { align-items: stretch; }
.cards-3 { grid-template-columns: 1fr; }
.cards-4 { grid-template-columns: 1fr 1fr; }
.card { background: #fff; padding: 20px; border-radius: 16px; box-shadow: var(--shadow); }
.card.center { text-align: center; }
.icon-wrap { width: 44px; height: 44px; border-radius: 12px; display: inline-grid; place-items: center; background: rgba(var(--warm),0.14); color: var(--warm); margin-bottom: 10px; }
.icon-wrap.warm { background: rgba(var(--cta-rgb),0.14); color: var(--cta); }
.lift { transition: transform .2s ease, box-shadow .2s ease; }
.lift:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(0,0,0,0.12); }

/* Split section */
.split-inner { display: grid; gap: 22px; }
.split-content .quotee { color: var(--muted); font-size: 14px; margin-top: -8px; }
.split .btn { margin-top: 10px; }

/* Timeline */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.timeline-item { position: relative; padding-left: 56px; }
.timeline-item::before { content: ""; position: absolute; left: 11px; top: 0; bottom: 0; width: 2px; background: rgba(15,26,43,0.12); }
.timeline-item .dot { position: absolute; left: 4px; top: 6px; width: 16px; height: 16px; background: var(--accent); border-radius: 50%; box-shadow: 0 0 0 4px rgba(var(--accent-rgb),0.18); }
.step-label { display:block; font-size:11px; letter-spacing:.12em; text-transform:uppercase; color: var(--muted); font-weight:700; margin-bottom:4px; }
.step-icon { position:absolute; left:26px; top:2px; font-size:18px; line-height:1; }

/* About hero */
.hero-about { position: relative; padding: 96px 0; overflow: clip; }
.hero-about .hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.9) brightness(.85); }
.hero-about .hero-overlay { position: absolute; inset: 0; background: rgba(15,26,43,.45); backdrop-filter: blur(2px); }
.hero-about-inner { position: relative; z-index: 1; color: #fff; text-align: center; }
.underline-animate { display: inline-block; position: relative; }
.underline-animate::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 4px; background: var(--accent); transform: scaleX(0); transform-origin: left; animation: underline .9s .2s ease forwards; }
@keyframes underline { to { transform: scaleX(1); } }
.media-round img { border-radius: 18px; }
.about-media { position: relative; height: 100%; min-height: 300px; overflow: hidden; }
.about-media img { width: 100%; height: 100%; object-fit: cover; border-radius: 18px; }
.shadow-soft { box-shadow: var(--shadow); }

/* Tabs */
.tabs { display: grid; grid-auto-flow: column; gap: 8px; margin: 8px 0 18px; }
.tab { border: 1px solid rgba(0,0,0,0.12); background: #fff; border-radius: 12px; padding: 10px 14px; cursor: pointer; font-weight: 600; }
.tab.active { background: #000; color: #fff; border-color: transparent; }
.tab-panel { display: none; }
.tab-panel.show { display: block; }
.cta-row { margin-top: 14px; }

/* Accordions */
.accordion { background: #fff; border-radius: 12px; box-shadow: var(--shadow); padding: 12px 16px; }
.accordion + .accordion { margin-top: 10px; }
.accordion summary { cursor: pointer; font-weight: 700; font-family: Montserrat, sans-serif; }
.bullet-list { margin: 10px 0 0 18px; }

/* ================================
   CONTACT
   ================================ */
.contact-hero { position: relative; padding: 88px 0 36px; color:#fff; overflow: clip; }
.contact-hero::before{content:"";position:absolute;inset:0;background: 
 radial-gradient(600px 300px at 15% 10%, rgba(255,188,117,.35), transparent 60%),
 radial-gradient(700px 400px at 85% 30%, rgba(255,126,95,.22), transparent 60%),
 linear-gradient(180deg, #0B0C10 0%, #111419 100%);}
.contact-hero .container{position:relative;z-index:1;}

/* Contact page title */
.contact-title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: clamp(28px, 6vw, 60px);
  font-family: Montserrat, sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
}

/* “Design” highlighted */
.contact-title .contact-hl { color: var(--warm); }

/* Word “Allred’s Web” container */
.allreds-word {
  display:inline-flex;
  align-items:baseline;
  gap:0;                  /* kill extra space so the A kisses the “ll” */
  letter-spacing:-0.01em; /* tiny optical tighten */
}

/* Reserve inline space for the A */
.logo-wrap {
  position: relative;
  display: inline-block;
  width: 0.85em;          /* adjust if the A needs more/less room */
  height: 1em;
  line-height: 1;
}

/* The A image itself — positioned and scaled relative to font size */
.inline-logo{
  position:absolute;
  top: 50%;               /* anchor around middle, then nudge with shift-y */
  left: 0;
  transform: translate(var(--a-shift-x), var(--a-shift-y)) scale(var(--a-scale));
  height: 1em;            /* tie to text size → scales automatically    */
  width:auto;
  display:block;
  z-index: 0;             /* behind letters if needed                   */
  border-radius: 0 !important; /* ignore global img rounding */
}

/* Tablet+ fine-tuning (adjust size/position here if needed) */
@media (min-width: 768px){
  :root{
     --a-scale: .85;
    --a-shift-x: 0.07em;
    --a-shift-y: -33%;
  }
  .logo-wrap{ width: 0.9em; }
}

/* Desktop+ fine-tuning */
@media (min-width: 1200px){
  :root{
    --a-scale: .85;
    --a-shift-x: 0.08em;
    --a-shift-y: -33%;
  }
  .logo-wrap{ width: 0.95em; }
}

.contact-hl{ color: var(--warm); }

.form-card .field { position: relative; margin-bottom: 14px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 16px 14px 14px; border-radius: 12px; border: 1px solid rgba(0,0,0,0.12); outline: none; background: #fff; box-shadow: var(--shadow);
}
.field label {
  position: absolute; left: 14px; top: 14px; color: var(--muted);
  transition: transform .15s ease, color .15s ease, top .15s ease, font-size .15s ease;
  background: #fff; padding: 0 6px; border-radius: 6px;
}
.field:focus-within label,
.field input:not(:placeholder-shown) + label,
.field textarea:not(:placeholder-shown) + label,
.field select:valid + label {
  top: -8px; font-size: 12px; color: var(--accent);
  transform: translateY(-2px);
}
.field:focus-within input,
.field:focus-within textarea,
.field:focus-within select { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(var(--accent-rgb),0.35); }
.error { display: block; color: #b42318; font-size: 12px; min-height: 16px; }
.contact-aside.sticky { position: sticky; top: 96px; align-self: start; }
.divider { height: 1px; background: rgba(0,0,0,0.08); margin: 14px 0; }
.contact-list { list-style: none; padding: 0; margin: 10px 0; }
.contact-grid { align-items: start; }

/* Footer */
.site-footer { margin-top: 24px; background:#0B0C10; color:#fff; border-top:1px solid rgba(255,255,255,0.08); }
.site-footer a { color: rgba(255,255,255,0.9); }
.site-footer a:hover { color: var(--accent); }
.footer-base { border-top: 1px solid rgba(255,255,255,0.08); }
.footer-inner { display: grid; gap: 16px; padding: 28px 0; grid-template-columns: 1fr; }
.footer-contact, .footer-social { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }

/* Scroll cue */
.scroll-cue { position: absolute; left: 50%; transform: translateX(-50%); bottom: 28px; color: var(--muted); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; }

/* Accessibility */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* Animations via IntersectionObserver */
[data-animate="in"] { opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .5s ease; }
[data-animate="in"].is-visible { opacity: 1; transform: translateY(0); }

/* Featured Services */
.featured-services { 
  position: relative; 
  background: url("../images/featured-services-bg.png") center/cover no-repeat; 
  overflow: clip;
}
.featured-services::before { content:""; position:absolute; inset:0; background: rgba(0,0,0,0.45); }
.featured-services > .container { position: relative; z-index: 1; }
.featured-services .section-title, .featured-services .section-subtitle { color:#fff; }
.featured-services .card { background: rgba(255,255,255,0.1); backdrop-filter: blur(4px); border: 1px solid rgba(255,255,255,0.2); }
.featured-services .card h3, .featured-services .card p { color:#fff; }
.service-icon { width:44px; height:44px; border-radius:12px; display:inline-grid; place-items:center; background:rgba(255,255,255,0.16); color: var(--accent); margin-bottom:8px; }

/* Alt backgrounds */
.stand-for { position: relative; background: 
  linear-gradient(120deg, rgba(255,188,117,.35), rgba(255,126,95,.2) 50%, rgba(255,235,205,.35)),
  url("../images/stand-for-bg.png") center/cover no-repeat; overflow: clip; }
.stand-for::before { content:""; position:absolute; inset:0; background: 
  radial-gradient(800px 500px at 15% 10%, rgba(255,210,160,.35), rgba(255,210,160,0) 60%),
  linear-gradient(to bottom right, rgba(255,180,120,.25), rgba(255,120,90,.15)); }
.stand-for > .container { position: relative; z-index: 1; }
.stand-for .section-title { color:#fff; }
.stand-for .card { background: rgba(255,255,255,0.08); border:1px solid rgba(255,255,255,0.18); backdrop-filter: blur(4px); }
.stand-for .card h3, .stand-for .card p { color:#fff; }
.stand-for .icon-wrap { background: rgba(255,255,255,0.16); color: var(--accent); }

.social-benefits{position:relative;color:var(--text);background:url("../images/social-bg.png") center/cover no-repeat;}
.social-benefits::before{content:"";position:absolute;inset:0;background:
 linear-gradient(180deg, rgba(255,255,255,0.92), rgba(255,255,255,0.78));}
.social-benefits>.container{position:relative;z-index:1;}
.social-benefits .section-title{position:relative;display:inline-block;}
.social-benefits .section-title::after{content:"";position:absolute;left:0;right:0;bottom:-8px;height:3px;background:linear-gradient(90deg, rgba(255,159,63,.9), rgba(78,198,232,.9));border-radius:6px;}
.social-benefits .section-subtitle{color:var(--text);}
.social-benefits .card{border-left:4px solid var(--accent);transition:transform .18s ease, box-shadow .22s ease; position: relative;}
.social-benefits .card::after{content:"";position:absolute;inset:0;border:3px solid var(--accent);border-radius:16px;pointer-events:none;opacity:0;transform:scaleX(0.98) scaleY(0.96);transition:opacity .18s ease, transform .22s ease;}
.social-benefits .card:hover{transform:translateY(-3px);box-shadow:0 16px 34px rgba(0,0,0,0.12);}
.social-benefits .card:hover::after{opacity:1;transform:scale(1);}

.services-page .btn-primary { background:#FFB357; box-shadow: 0 8px 20px rgba(255,179,87,.35); }
.services-page .btn-primary:hover { background:#FF9F3F; }

.contact-page .btn-primary { background:#FFB357; box-shadow: 0 8px 24px rgba(255,179,87,.35); }
.contact-page .btn-primary:hover { background:#FF9F3F; }
.contact-page #contact-form .btn-primary { border: none !important; }

.contact-benefits .card.benefit-card{background:rgba(255,255,255,0.08); border:1px solid rgba(255,255,255,0.18); backdrop-filter: blur(4px);}
.contact-benefits{position:relative; margin-top:-8px;}
.contact-benefits .card h3, .contact-benefits .card p{color:#fff;}
.contact-benefits::before{content:"";position:absolute;inset:0;background: 
 linear-gradient(180deg, rgba(17,20,25,1), rgba(17,20,25,0.9)); z-index:-1;}
.contact-benefits .card.benefit-card{cursor:pointer;}

.contact-form-section { background: linear-gradient(180deg, #ffffff 0%, #fbfbfb 100%); }
.contact-form-section .form-card{
  position:relative; border:1px solid rgba(255,159,63,0.25);
  background: linear-gradient(180deg,#ffffff 0%, #FFF9F3 100%);
  box-shadow: 0 14px 40px rgba(255,179,87,0.18), var(--shadow);
}
.contact-form-section .form-card .btn-primary{ width:100%; }

.guarantee-callout { padding-top: 0; }
.guarantee-callout .guarantee{ background: linear-gradient(135deg,#FF9F3F, #FF7E5F); color:#fff; text-align:center; border:0; }
.guarantee-callout .guarantee .btn{margin-top:8px;}


/* Why Choose Us — warm styling */
.why-choose .icon-wrap{
  background: rgba(255,179,87,0.18);            /* fallback */
  background: color-mix(in srgb, var(--warm) 18%, transparent);
  color: var(--warm);
}
.why-choose .card:hover .icon-wrap{
  background: rgba(255,159,63,0.22);
  color: #FF9F3F;
}

/* Make the section “taller” (more breathing room) */
.why-choose.section { 
  padding-block: 100px;      /* was 64px */
}
@media (min-width: 1200px){
  .why-choose.section { 
    padding-block: 120px;
  }
}
.why-choose .cards-3 .card{ min-height: 100%; }
@media (min-width: 900px){
  .why-choose .cards-3 .card{ padding: 28px; }
}

/* Responsive */
@media (min-width: 640px) {
  .nav-menu { display: flex; }
  .nav-toggle { display: none; }
  .hero .hero-inner { grid-template-columns: 1.1fr .9fr; }
  .cards-3 { grid-template-columns: repeat(3, 1fr); }
  .split-inner { grid-template-columns: 1.1fr .9fr; }
  .site-header .logo-img { height: 48px; }
  .hero-trust { grid-template-columns: repeat(3, minmax(0,1fr)); }
}

@media (min-width: 900px) {
  .two-col { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1.2fr .8fr .6fr; }
  .about-media { min-height: 420px; }
}

/* XL+ boost */
@media (min-width: 1800px) {
  .hero-title,
  #hero-home-title { font-size: clamp(48px, 6.2vw, 110px); }
}

@media (prefers-reduced-motion: reduce) {
  .btn-pulse { animation: none; }
  [data-animate="in"] { transition: none; opacity: 1; transform: none; }
}

/* ================================
   Contact Panels — modern layout
   ================================ */

/* Allow panel shadows to render outside the section if needed */
.contact-form-section { overflow: visible; }

/* ---- Aside card (shared base) ---- */
.contact-aside.modern{
  position: relative;
  border: 1px solid rgba(0,0,0,0.06);
  background: linear-gradient(180deg,#ffffff 0%, #FFF9F3 100%);
  box-shadow:
    0 10px 30px rgba(255,179,87,0.12),
    var(--shadow);
  padding: 20px;
  transition: transform .18s ease, box-shadow .22s ease;
}
.contact-aside.modern:hover{
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(255,179,87,.20), var(--shadow);
}

/* ---- Aside header block ---- */
.contact-aside .aside-header{
  display:flex; align-items:center; gap:12px; margin-bottom:10px;
}
.contact-aside .aside-title{
  margin:0; font-family: Montserrat, sans-serif; letter-spacing:-.3px;
}
.contact-aside .aside-sub{
  display:flex; gap:8px; flex-wrap:wrap; margin-top:6px;
}
.contact-aside .chip{
  display:inline-block; padding:4px 8px; border-radius:999px;
  font-size:12px; font-weight:700; letter-spacing:.05em; text-transform:uppercase;
  background: rgba(255,179,87,.18); color:#B35A00; border:1px solid rgba(255,179,87,.45);
}

/* ---- Aside list ---- */
.contact-aside .contact-list.fancy{
  list-style:none; padding:0; margin:10px 0 8px; display:grid; gap:10px;
}
.contact-aside .contact-list.fancy li{
  display:grid; grid-template-columns: 32px 1fr; gap:10px;
  padding:10px; border-radius:12px; background:#fff; border:1px solid rgba(0,0,0,0.06);
}
.contact-aside .contact-list.fancy .ico{
  width:32px; height:32px; border-radius:10px; display:grid; place-items:center;
  background: rgba(255,179,87,.18); color:#B35A00;
}

.contact-aside .aside-note{ margin:6px 2px 12px; }
.contact-aside .aside-cta{ display:grid; gap:10px; }
.w-100{ width:100%; }

/* ---- Link underline (utility) ---- */
.link-underline{ position:relative; text-decoration:none; }
.link-underline::after{
  content:""; position:absolute; left:0; right:0; bottom:-2px; height:2px;
  background: linear-gradient(90deg,#FF9F3F,#FFB357);
  transform:scaleX(0); transform-origin:left; transition:transform .2s ease;
}
.link-underline:hover::after{ transform:scaleX(1); }

/* ================================
   Layout & stacking
   ================================ */

/* Right panel: remove any box shadow */
.contact-extra { box-shadow: none !important; }

/* Base grid (mobile first) */
.contact-form-section .contact-grid-modern{
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
.contact-extra       { order: -2; }      /* top */
.contact-aside.modern{
  order: -1;                             /* middle */
  position: relative; top: auto;         /* NOT sticky on mobile */
  z-index: 2;                             /* sit above form if they touch */
  margin-bottom: 8px;                     /* breathing room */
}
#contact-form        { order: 0;  position: relative; z-index: 1; }

/* Desktop (≥900px): 3 columns + sticky aside + natural order */
@media (min-width: 900px){
  .contact-form-section .contact-grid-modern{
    grid-template-columns: 0.9fr 1.2fr 0.9fr;   /* aside | form | extra */
    align-items: start;
    gap: 22px;
  }
  .contact-aside.modern{
    order: 0;
    position: sticky; top: 96px; z-index: 1;
    margin-bottom: 0;
  }
  #contact-form { order: 0; }
  .contact-extra { order: 0; border-color: rgba(0,0,0,0.06); }
}