/* ==========================================================================
   Avora Brands – modern.css
   Shared design refresh, loaded AFTER each page's inline styles.
   To revert: remove the <link rel="stylesheet" href="modern.css"> line.
   ========================================================================== */

:root{
  --m-grad:linear-gradient(135deg,#0E86DC 0%,#0B68AB 100%);
  --m-grad-dark:linear-gradient(135deg,#061226 0%,#0a2a50 100%);
  --m-radius:20px;
  --m-radius-sm:12px;
  --m-shadow-sm:0 1px 2px rgba(6,18,38,.04),0 4px 14px rgba(6,18,38,.06);
  --m-shadow-md:0 2px 4px rgba(6,18,38,.04),0 14px 38px rgba(6,18,38,.10);
  --m-shadow-lg:0 4px 8px rgba(6,18,38,.05),0 28px 60px rgba(6,18,38,.16);
  --m-ease:cubic-bezier(.22,.8,.3,1);
}

html body{
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  text-rendering:optimizeLegibility;
  background:#fff;
}
::selection{background:#0E86DC;color:#fff}

/* ---------- Announcement bar ---------- */
html body .ann-bar{
  background:linear-gradient(90deg,#061226,#0a2a50 50%,#061226);
  padding:7px 0;
}
html body .ann-bar span{font-size:.76rem;letter-spacing:.03em;font-weight:500}

/* ---------- Header / navigation: frosted glass ---------- */
html body nav{
  background:rgba(255,255,255,.78);
  -webkit-backdrop-filter:saturate(180%) blur(18px);
  backdrop-filter:saturate(180%) blur(18px);
  border-bottom:1px solid rgba(6,18,38,.07);
  transition:box-shadow .3s var(--m-ease);
}
html body .site-header:hover nav{box-shadow:0 10px 30px rgba(6,18,38,.06)}
html body .nav-links{gap:2px}
html body .nav-links a{
  font-size:.86rem;font-weight:500;color:#1f2a44;
  padding:8px 14px;border-radius:999px;
  transition:background .25s var(--m-ease),color .25s var(--m-ease);
}
html body .nav-links a:hover{background:rgba(14,134,220,.08);color:#0B68AB}
html body .nav-links a.active{
  color:#0B68AB;font-weight:600;border-bottom:none;
  border-radius:999px;padding:8px 14px;background:rgba(14,134,220,.10);
}
html body .dropdown{
  border-radius:var(--m-radius-sm);
  box-shadow:var(--m-shadow-lg);
  border:1px solid rgba(6,18,38,.06);
  padding:10px;
}
html body .dropdown a{border-radius:10px}
html body .dropdown a:hover{background:rgba(14,134,220,.07)}

/* ---------- Buttons ---------- */
html body .btn-nav,
html body .btn-primary,
html body .btn-hero-primary,
html body .btn-apply,
html body .form-submit,
html body .hf-btn,
html body .brands-btn{
  background:var(--m-grad);
  color:#fff;
  border:none;
  border-radius:999px;
  box-shadow:0 6px 18px rgba(14,134,220,.30);
  transition:transform .25s var(--m-ease),box-shadow .25s var(--m-ease),filter .25s;
}
html body .btn-nav:hover,
html body .btn-primary:hover,
html body .btn-hero-primary:hover,
html body .btn-apply:hover,
html body .form-submit:hover,
html body .hf-btn:hover,
html body .brands-btn:hover{
  background:var(--m-grad);
  transform:translateY(-2px);
  box-shadow:0 12px 28px rgba(14,134,220,.38);
  filter:brightness(1.04);
}
html body .btn-nav{padding:10px 22px}
html body .btn-outline,
html body .btn-hero-outline,
html body .btn-outline-w,
html body .btn-cta-out{
  border-radius:999px;
  transition:transform .25s var(--m-ease),box-shadow .25s var(--m-ease),border-color .25s,background .25s;
}
html body .btn-outline:hover,
html body .btn-hero-outline:hover{
  transform:translateY(-2px);
  box-shadow:var(--m-shadow-md);
}
html body .btn-cta-w{border-radius:999px}

/* ---------- Typography ---------- */
html body h1,
html body h2{letter-spacing:-.025em;text-wrap:balance}
html body p{text-wrap:pretty}

/* Gradient accent words in headlines */
html body .hero h1 .blue,
html body .ds-hero h1 .blue,
html body .ah-heading .blue,
html body .ah-text-heading .blue,
html body .cta-heading .blue,
html body .cta-text h2 .blue,
html body .h-heading .blue,
html body .hf-title .blue,
html body .faq-heading .blue,
html body .git-heading .blue,
html body .careers-hero h1 span,
html body .section-title span,
html body .brands-heading .acc{
  background:var(--m-grad);
  -webkit-background-clip:text;background-clip:text;
  -webkit-text-fill-color:transparent;color:transparent;
}

/* Eyebrow labels become soft pills */
html body .hero-eyebrow,
html body .ds-eyebrow,
html body .ah-eyebrow,
html body .ah-text-eyebrow,
html body .section-eyebrow,
html body .brands-eyebrow,
html body .founder-section-eyebrow{
  letter-spacing:.12em;
}

/* ---------- Cards ---------- */
html body .brand-card,
html body .offer-card,
html body .port-card,
html body .job-card,
html body .perk-card,
html body .git-card,
html body .af-card,
html body .apply-card,
html body .hero-form-card,
html body .faq-item,
html body .intern-banner{
  border-radius:var(--m-radius);
  border:1px solid rgba(6,18,38,.07);
  box-shadow:var(--m-shadow-sm);
  transition:transform .4s var(--m-ease),box-shadow .4s var(--m-ease),border-color .3s;
}
html body .brand-card:hover,
html body .offer-card:hover,
html body .port-card:hover,
html body .job-card:hover,
html body .perk-card:hover,
html body .git-card:hover,
html body .af-card:hover{
  transform:translateY(-6px);
  box-shadow:var(--m-shadow-lg);
  border-color:rgba(14,134,220,.25);
}
html body .perk-card{background:#fff}
html body .hero-form-card,
html body .apply-card{box-shadow:var(--m-shadow-md)}

/* Image zoom inside cards stays smooth and clipped */
html body .brand-card-img img,
html body .port-img img{transition:transform .7s var(--m-ease)}
html body .port-card:hover .port-img img{transform:scale(1.06)}
html body .port-img,
html body .brand-card-img{border-radius:var(--m-radius) var(--m-radius) 0 0}

/* ---------- Filter chips / tags ---------- */
html body .filt-btn{
  border-radius:999px;
  transition:all .25s var(--m-ease);
}
html body .filt-btn.active{
  background:var(--m-grad);color:#fff;border-color:transparent;
  box-shadow:0 6px 16px rgba(14,134,220,.28);
}
html body .job-tag,
html body .intern-badge{border-radius:999px}

/* ---------- Forms ---------- */
html body .form-field input,
html body .form-field select,
html body .form-field textarea,
html body .hf-field select,
html body .hf-field input,
html body .hf-field textarea,
html body .apm-input{
  border-radius:var(--m-radius-sm);
  transition:border-color .2s,box-shadow .2s,background .2s;
}
html body .form-field:focus-within,
html body .form-textarea:focus-within,
html body .hf-field:focus-within,
html body .hf-msg:focus-within{
  border-color:#0E86DC;
  box-shadow:0 0 0 4px rgba(14,134,220,.14);
}

/* ---------- Sections: softer rhythm ---------- */
html body .careers-hero,
html body .ds-hero,
html body .about-hero{position:relative}
html body .ds-stats,
html body .ds-process{position:relative}

/* ---------- FAQ ---------- */
html body .faq-item.open{box-shadow:var(--m-shadow-md);border-color:rgba(14,134,220,.25)}
html body .faq-item.open .faq-icon{background:var(--m-grad)}

/* ---------- Footer ---------- */
html body footer{
  background:
    radial-gradient(900px 400px at 85% -10%,rgba(14,134,220,.14),transparent 60%),
    radial-gradient(700px 380px at 5% 0%,rgba(14,134,220,.18),transparent 60%),
    #061226;
}
html body .f-col ul li a{transition:color .2s,padding-left .25s var(--m-ease)}
html body .f-col ul li a:hover{padding-left:4px;color:#fff}

/* ---------- Floating action buttons ---------- */
html body .fab{
  box-shadow:0 10px 28px rgba(6,18,38,.28);
  transition:transform .3s var(--m-ease),box-shadow .3s var(--m-ease);
}
html body .fab:hover{transform:translateY(-3px) scale(1.06)}

/* ---------- Modal ---------- */
html body .consult-overlay{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}
html body .consult-modal{border-radius:24px;box-shadow:var(--m-shadow-lg)}

/* ---------- Images / maps ---------- */
html body .git-map,
html body .git-map iframe,
html body .hero-right img,
html body .founder-img-wrap img,
html body .cta-image img{border-radius:var(--m-radius)}

/* ---------- Scroll-reveal (progressive enhancement, no JS) ---------- */
@supports (animation-timeline: view()){
  @keyframes m-reveal{
    from{opacity:0;transform:translateY(28px)}
    to{opacity:1;transform:none}
  }
  html body .brand-card,
  html body .offer-card,
  html body .port-card,
  html body .job-card,
  html body .perk-card,
  html body .git-card,
  html body .af-card,
  html body .faq-item,
  html body .founder-inner,
  html body .ds-process-wrap > *,
  html body .section-title{
    animation:m-reveal linear backwards;
    animation-timeline:view();
    animation-range:entry 0% entry 35%;
  }
}

/* ---------- Focus visibility (accessibility) ---------- */
html body a:focus-visible,
html body button:focus-visible,
html body input:focus-visible,
html body select:focus-visible,
html body textarea:focus-visible{
  outline:3px solid rgba(14,134,220,.45);
  outline-offset:2px;
}

/* ---------- Mobile ---------- */
@media (max-width:768px){
  :root{--m-radius:16px}
  html body .btn-primary,
  html body .btn-hero-primary{box-shadow:0 4px 12px rgba(14,134,220,.28)}
  html body .brand-card:hover,
  html body .offer-card:hover,
  html body .port-card:hover,
  html body .job-card:hover,
  html body .perk-card:hover{transform:none}
}

/* ---------- Respect reduced motion ---------- */
@media (prefers-reduced-motion:reduce){
  html body *,html body *::before,html body *::after{
    animation-duration:.01ms !important;
    animation-iteration-count:1 !important;
    transition-duration:.01ms !important;
    scroll-behavior:auto !important;
  }
}

/* ---------- Dropdown: invisible hover bridge so the menu doesn't close in the gap ---------- */
html body .dropdown::before{
  content:"";position:absolute;left:0;right:0;top:-14px;height:14px;
}

/* ==========================================================================
   Print Services – "All Products" sections (targets of the category menu)
   ========================================================================== */
html body .pi-section{background:#f7f9fc;padding:72px 28px;border-top:1px solid var(--border)}
html body .pi-wrap{max-width:1240px;margin:0 auto}
html body .pi-head{text-align:center;margin-bottom:48px}
html body .pi-eyebrow{display:inline-block;background:#fff;color:var(--navy);font-size:.74rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;padding:5px 16px;border-radius:999px;border:1px solid var(--border);margin-bottom:14px}
html body .pi-head h2{font-size:clamp(1.6rem,2.5vw,2.2rem);font-weight:800;color:var(--navy);margin-bottom:10px}
html body .pi-head p{font-size:.97rem;color:var(--gray);max-width:520px;margin:0 auto;line-height:1.7}

html body .pi-cat{margin-bottom:56px;scroll-margin-top:170px}
html body .pi-cat:last-child{margin-bottom:0}
html body .pi-cat-head{display:flex;align-items:center;gap:20px;margin-bottom:22px}
html body .pi-cat-head img{width:132px;height:88px;object-fit:cover;border-radius:16px;box-shadow:var(--m-shadow-sm);flex-shrink:0;background:#e9eef5}
html body .pi-cat-head h3{font-size:1.45rem;font-weight:800;color:var(--navy);letter-spacing:-.02em;margin-bottom:4px}
html body .pi-cat-head p{font-size:.92rem;color:var(--gray);line-height:1.6}
html body .pi-group{font-size:.74rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--blue2);margin:22px 0 12px}
html body .pi-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:16px}

html body .pi-card{
  background:#fff;border:1px solid rgba(6,18,38,.07);border-radius:var(--m-radius);
  padding:22px 20px 20px;display:flex;flex-direction:column;gap:6px;
  scroll-margin-top:170px;
  box-shadow:var(--m-shadow-sm);
  transition:transform .35s var(--m-ease),box-shadow .35s var(--m-ease),border-color .3s;
}
html body .pi-card:hover{transform:translateY(-5px);box-shadow:var(--m-shadow-lg);border-color:rgba(14,134,220,.3)}
html body .pi-ico{width:44px;height:44px;border-radius:14px;display:flex;align-items:center;justify-content:center;background:rgba(14,134,220,.10);color:#0B68AB;margin-bottom:8px}
html body .pi-name{font-size:1rem;font-weight:700;color:var(--navy)}
html body .pi-desc{font-size:.85rem;color:var(--gray);line-height:1.6;flex:1}
html body .pi-cta{margin-top:10px;font-size:.8rem;font-weight:700;color:#0B68AB;display:inline-flex;align-items:center;gap:6px}
/* highlight the card a menu link jumped to */
html body .pi-card:target{border-color:#0E86DC;box-shadow:0 0 0 4px rgba(14,134,220,.16),var(--m-shadow-md)}
html body .pi-cat:target .pi-cat-head h3{color:#0B68AB}

@media(max-width:600px){
  html body .pi-section{padding:52px 18px}
  html body .pi-cat-head{gap:14px}
  html body .pi-cat-head img{width:92px;height:68px}
  html body .pi-cat-head h3{font-size:1.2rem}
  html body .pi-grid{grid-template-columns:repeat(2,1fr);gap:12px}
  html body .pi-card{padding:18px 14px}
}


/* ==========================================================================
   Dark-band CTA buttons (About: "Let's Work Together", Contact: "Start Your Project")
   ========================================================================== */
html body .cta-btn{
  display:inline-flex;align-items:center;gap:16px;width:fit-content;
  padding:8px 32px 8px 8px;border-radius:999px;
  background:var(--m-grad);color:#fff;
  font-size:.95rem;font-weight:700;letter-spacing:.01em;white-space:nowrap;
  box-shadow:0 10px 30px rgba(14,134,220,.35);
  transition:transform .3s var(--m-ease),box-shadow .3s var(--m-ease),gap .3s var(--m-ease);
}
html body .cta-btn:hover{
  gap:20px;transform:translateY(-3px);
  box-shadow:0 16px 38px rgba(14,134,220,.5);
}
html body .cta-btn .cta-arrow{
  width:46px;height:46px;border-radius:50%;
  background:#fff;border:none;color:#0B68AB;
  box-shadow:0 4px 12px rgba(8,22,40,.25);
  transition:transform .3s var(--m-ease),background .2s,color .2s;
}
html body .cta-btn:hover .cta-arrow{background:#fff;color:#0B68AB;transform:translateX(4px)}

html body .cta-start-btn{
  display:inline-flex;align-items:center;gap:16px;
  padding:8px 8px 8px 30px;border-radius:999px;
  background:#fff;color:var(--navy);
  font-size:.95rem;font-weight:800;white-space:nowrap;
  box-shadow:0 10px 30px rgba(0,0,0,.28);
  transition:transform .3s var(--m-ease),box-shadow .3s var(--m-ease),gap .3s var(--m-ease);
}
html body .cta-start-btn:hover{
  background:#fff;color:var(--navy);gap:20px;transform:translateY(-3px);
  box-shadow:0 16px 38px rgba(14,134,220,.45);
}
html body .cta-start-btn .btn-circle{
  width:44px;height:44px;border-radius:50%;
  background:var(--m-grad);color:#fff;
  transition:transform .3s var(--m-ease);
}
html body .cta-start-btn:hover .btn-circle{background:var(--m-grad);color:#fff;transform:translateX(3px)}

/* ==========================================================================
   Careers – professional polish (icons instead of emoji, cleaner cards)
   ========================================================================== */
html body .careers-hero{
  background:
    radial-gradient(900px 420px at 80% -20%,rgba(14,134,220,.22),transparent 60%),
    radial-gradient(800px 420px at 0% 110%,rgba(14,134,220,.28),transparent 60%),
    #061226;
  padding:96px 28px 88px;
}
html body .careers-hero h1{font-size:clamp(2.2rem,4.2vw,3.4rem);font-weight:800;letter-spacing:-.03em;line-height:1.1}
html body .careers-hero p{font-size:1.02rem;line-height:1.75;color:rgba(255,255,255,.72)}

/* Perk icons */
html body .perk-icon{
  width:50px;height:50px;border-radius:14px;
  background:linear-gradient(135deg,rgba(14,134,220,.14),rgba(14,134,220,.14));
  color:#0B68AB;
}
html body .perk-title{font-weight:700;letter-spacing:-.01em}

/* Job cards */
html body .job-card{padding:26px 30px;gap:28px}
html body .job-title{font-size:1.12rem;letter-spacing:-.015em;margin-bottom:12px}
html body .job-meta{gap:8px 10px}
html body .job-meta span{
  gap:7px;padding:6px 12px;border-radius:999px;
  background:#f4f7fb;border:1px solid rgba(6,18,38,.06);
  font-size:.78rem;font-weight:500;color:#44516c;
}
html body .job-meta svg{color:#0B68AB;flex-shrink:0}
html body .job-tag{letter-spacing:.06em;font-size:.68rem}

/* Internship banner */
html body .intern-banner{
  background:
    radial-gradient(600px 300px at 100% 0%,rgba(14,134,220,.22),transparent 60%),
    linear-gradient(135deg,#061226 0%,#0a2a50 100%);
  border:none;box-shadow:var(--m-shadow-lg);
}
html body .intern-text h3{font-size:1.5rem;font-weight:800;letter-spacing:-.02em}

/* Form */
html body .apply-card{padding:40px}
html body .form-success{border-radius:var(--m-radius-sm);font-weight:600}
@media(max-width:600px){html body .apply-card{padding:24px 18px}}

/* ==========================================================================
   Contact – FAQ list: padded, readable accordion cards
   ========================================================================== */
html body .faq-list{gap:12px}
html body .faq-list .faq-item{background:#fff;border:1px solid rgba(6,18,38,.08);border-radius:16px}
html body .faq-list .faq-item:first-child{border-top:1px solid rgba(6,18,38,.08)}
html body .faq-list .faq-q{padding:20px 22px;gap:18px}
html body .faq-list .faq-q-text{font-size:.97rem;line-height:1.45}
html body .faq-list .faq-icon{width:30px;height:30px}
html body .faq-list .faq-a-inner{padding:0 22px 22px;font-size:.92rem;line-height:1.75;max-width:84ch}
html body .faq-list .faq-item.open .faq-a{max-height:260px}
html body .faq-list .faq-item.open{border-color:rgba(14,134,220,.35);box-shadow:var(--m-shadow-md)}
@media(max-width:600px){
  html body .faq-list .faq-q{padding:16px 16px}
  html body .faq-list .faq-a-inner{padding:0 16px 18px}
  html body .faq-list .faq-q-text{font-size:.92rem}
}
