/* =========================================================
   OLIGATI GROUP — Brand Tokens
   ========================================================= */
:root{
  --gold:        #D19729;   /* Primary */
  --gold-pale:   #FCE496;   /* Secondary */
  --platinum:    #E5E4E2;   /* Tertiary */
  --white:       #FFFFFF;
  --grey-light:  #F6F7F9;
  --ink-text:    #333333;   /* Dark Charcoal Text */
  --ink-deep:    #14110C;   /* near-black, echoes logo backdrop */
  --success:     #2E7D32;

  --font-display: 'Playfair Display', 'Georgia', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --radius-sm: 4px;
  --radius-md: 8px;
  --shadow-soft: 0 10px 40px rgba(20,17,12,0.08);
  --shadow-strong: 0 20px 60px rgba(20,17,12,0.18);
}

*{ box-sizing:border-box; }

html{ scroll-behavior:smooth; scroll-padding-top: 90px; }

body{
  font-family: var(--font-body);
  color: var(--ink-text);
  background: var(--white);
  overflow-x: hidden;
}

h1,h2,h3,h4, .font-display{
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink-deep);
  letter-spacing: 0.2px;
}

.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:.6rem;
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight:600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.eyebrow::before{
  content:"";
  width:10px;height:10px;
  background: var(--gold);
  transform: rotate(45deg);
  display:inline-block;
  flex-shrink:0;
}

a{ text-decoration:none; }
::selection{ background: var(--gold-pale); color: var(--ink-deep); }

/* =========================================================
   Diamond motif — signature element, echoes the logo mark
   ========================================================= */
.diamond{
  width: 64px; height:64px;
  position:relative;
  transform: rotate(45deg);
  border: 2px solid var(--gold);
  background: var(--white);
  display:flex; align-items:center; justify-content:center;
  flex-shrink:0;
  transition: transform .35s ease, background .35s ease;
}
.diamond > *{ transform: rotate(-45deg); }
.diamond-lg{ width:84px; height:84px; }

.diamond-divider{
  width:14px; height:14px;
  background: var(--gold);
  transform: rotate(45deg);
  margin: 0 auto;
}

.diamond-divider-row{
  display:flex; align-items:center; justify-content:center;
  gap:14px;
  margin: 2.5rem 0;
}
.diamond-divider-row .line{
  height:1px; width:64px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

/* corner-clip on cards, matching the diamond angle */
.clip-diamond-corner{
  position:relative;
  clip-path: polygon(0 0, calc(100% - 26px) 0, 100% 26px, 100% 100%, 0 100%);
}

/* =========================================================
   Navbar
   ========================================================= */
.navbar-oligati{
  position:fixed; top:0; left:0; right:0; z-index:1000;
  padding: 22px 0;
  transition: all .4s ease;
  background: transparent;
}
.navbar-oligati.scrolled{
  padding: 12px 0;
  background: rgba(20,17,12,0.92);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-soft);
}
.navbar-oligati .navbar-brand{
  display:flex; align-items:center; gap:12px;
}
.navbar-oligati .navbar-brand img{ height:42px; width:auto; }
.navbar-oligati .brand-word{
  font-family: var(--font-display);
  font-weight:700;
  font-size:1.15rem;
  color: var(--white);
  line-height:1.1;
}
.navbar-oligati .brand-word small{
  display:block;
  font-family: var(--font-body);
  font-size:.6rem;
  letter-spacing:3px;
  font-weight:600;
  color: var(--gold);
}
.navbar-oligati .nav-link{
  color: rgba(255,255,255,.85) !important;
  font-weight:500;
  font-size:.92rem;
  letter-spacing:.3px;
  padding: 8px 16px !important;
  position:relative;
}
.navbar-oligati .nav-link::after{
  content:"";
  position:absolute; left:16px; right:16px; bottom:2px;
  height:2px; background: var(--gold);
  transform: scaleX(0); transform-origin:left;
  transition: transform .3s ease;
}
.navbar-oligati .nav-link:hover::after,
.navbar-oligati .nav-link.active::after{ transform: scaleX(1); }
.navbar-oligati .nav-link:hover{ color: var(--white) !important; }

.btn-gold{
  background: var(--gold);
  border: 1px solid var(--gold);
  color: var(--ink-deep);
  font-weight:600;
  padding: .7rem 1.6rem;
  letter-spacing:.4px;
  border-radius: var(--radius-sm);
  transition: all .3s ease;
}
.btn-gold:hover{
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}
.btn-outline-cream{
  background: transparent;
  border: 1px solid rgba(255,255,255,.55);
  color: var(--white);
  font-weight:600;
  padding: .7rem 1.6rem;
  letter-spacing:.4px;
  border-radius: var(--radius-sm);
  transition: all .3s ease;
}
.btn-outline-cream:hover{
  background: var(--white);
  color: var(--ink-deep);
  border-color: var(--white);
}
.btn-dark-outline{
  background: transparent;
  border: 1px solid var(--ink-deep);
  color: var(--ink-deep);
  font-weight:600;
  padding: .65rem 1.5rem;
  border-radius: var(--radius-sm);
  transition: all .3s ease;
}
.btn-dark-outline:hover{
  background: var(--ink-deep);
  color: var(--white);
}

/* =========================================================
   Hero Carousel
   ========================================================= */
.hero-carousel{ height:100vh; min-height:640px; }
.hero-carousel .carousel-inner,
.hero-carousel .carousel-item{ height:100vh; min-height:640px; }
.hero-slide{
  height:100%; width:100%;
  background-size: cover;
  background-position: center;
  position:relative;
  display:flex; align-items:center;
}
.hero-slide::before{
  content:"";
  position:absolute; inset:0;
  z-index:1;
  background: linear-gradient(180deg, rgba(20,17,12,.72) 0%, rgba(20,17,12,.55) 45%, rgba(20,17,12,.88) 100%);
}
.hero-slide .container{ position:relative; z-index:2; }

/* Video hero slide */
.hero-slide-video{ background: var(--ink-deep); }
.hero-video{
  position:absolute; inset:0; z-index:0;
  width:100%; height:100%;
  object-fit: cover;
}
.video-sound-toggle{
  position:absolute; z-index:3;
  left: 48px; bottom: 42px;
  width:48px; height:48px;
  border-radius:50%;
  border: 1px solid rgba(255,255,255,.4);
  background: rgba(20,17,12,.4);
  backdrop-filter: blur(4px);
  color: var(--white);
  display:flex; align-items:center; justify-content:center;
  transition: all .3s ease;
}
.video-sound-toggle:hover{ border-color: var(--gold); background: rgba(20,17,12,.65); }
.video-sound-toggle svg{ width:19px; height:19px; }
.video-sound-toggle .icon-unmuted{ display:none; }
.video-sound-toggle[aria-pressed="true"] .icon-muted{ display:none; }
.video-sound-toggle[aria-pressed="true"] .icon-unmuted{ display:block; }
@media (max-width: 768px){
  .video-sound-toggle{ left:24px; bottom:100px; }
}

.hero-content{ max-width: 780px; }
.hero-content .eyebrow{ color: var(--gold-pale); }
.hero-content .eyebrow::before{ background: var(--gold-pale); }
.hero-title{
  color: var(--white);
  font-size: clamp(2.4rem, 5.2vw, 4.4rem);
  line-height: 1.08;
  margin-bottom: 1.4rem;
}
.hero-title .accent{ color: var(--gold); font-style: italic; }
.hero-sub{
  color: rgba(255,255,255,.85);
  font-size: 1.1rem;
  max-width: 560px;
  margin-bottom: 2.2rem;
  line-height:1.7;
}
.hero-actions{ display:flex; gap:1rem; flex-wrap:wrap; }

.carousel-indicators-oligati{
  position:absolute; z-index:3; bottom:40px; left:50%;
  transform: translateX(-50%);
  display:flex; gap:10px;
}
.carousel-indicators-oligati button{
  width:34px; height:3px; border:none; background: rgba(255,255,255,.35);
  cursor:pointer; padding:0; transition: background .3s ease;
}
.carousel-indicators-oligati button.active{ background: var(--gold); }

.scroll-cue{
  position:absolute; z-index:3; bottom:40px; right:48px;
  color: rgba(255,255,255,.75);
  writing-mode: vertical-rl;
  font-size:.72rem; letter-spacing:3px; text-transform:uppercase;
  display:flex; align-items:center; gap:10px;
}
.scroll-cue .stem{ width:1px; height:50px; background: rgba(255,255,255,.5); }

@media (max-width: 768px){
  .scroll-cue{ display:none; }
}

/* =========================================================
   Sections — generic
   ========================================================= */
section{ padding: 6.5rem 0; }
.section-alt{ background: var(--grey-light); }
.section-dark{ background: var(--ink-deep); color: rgba(255,255,255,.82); }
.section-dark h2, .section-dark h3{ color: var(--white); }

.section-head{ max-width: 640px; margin-bottom: 3.2rem; }
.section-head.mx-auto{ text-align:center; }
.section-head h2{ font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
.section-head p{ color:#5b5b5b; font-size:1.05rem; }
.section-dark .section-head p{ color: rgba(255,255,255,.68); }

/* =========================================================
   Overview
   ========================================================= */
.overview-figure{
  position:relative;
}
.overview-figure img{
  width:100%; border-radius: var(--radius-md);
  box-shadow: var(--shadow-strong);
}
.overview-figure .badge-years{
  position:absolute; bottom:-28px; left:-28px;
  background: var(--gold);
  color: var(--ink-deep);
  padding: 1.4rem 1.6rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-strong);
  text-align:center;
}
.overview-figure .badge-years .num{
  font-family: var(--font-display);
  font-size:2.1rem; font-weight:700; line-height:1;
}
.overview-figure .badge-years .lbl{
  font-size:.7rem; letter-spacing:1.5px; text-transform:uppercase; font-weight:600;
}
@media (max-width: 991px){
  .overview-figure{ margin-bottom: 3rem; }
}

/* =========================================================
   Why choose us — diamond icon cards
   ========================================================= */
.value-card{
  text-align:center;
  padding: 2.2rem 1.4rem;
  height:100%;
}
.value-card .diamond{ margin: 0 auto 1.6rem; }
.value-card .diamond svg{ width:26px; height:26px; stroke: var(--gold); }
.value-card:hover .diamond{ background: var(--gold); transform: rotate(45deg) scale(1.06); }
.value-card:hover .diamond svg{ stroke: var(--white); }
.value-card h4{ font-size:1.15rem; margin-bottom:.6rem; }
.value-card p{ font-size:.92rem; color:#5b5b5b; margin:0; }

/* =========================================================
   Services
   ========================================================= */
.service-card{
  background: var(--white);
  border: 1px solid var(--platinum);
  padding: 2.4rem 2rem;
  height:100%;
  position: relative;
  overflow:hidden;
  transition: border-color .3s ease, transform .3s ease;
}
.service-card::after{
  content:"";
  position:absolute; top:0; right:0;
  width:0; height:0;
  border-style:solid;
  border-width:0 42px 42px 0;
  border-color: transparent var(--platinum) transparent transparent;
  transition: border-color .3s ease;
}
.service-card:hover{ border-color: var(--gold); transform: translateY(-6px); }
.service-card:hover::after{ border-color: transparent var(--gold) transparent transparent; }
.service-card .idx{
  font-family: var(--font-display);
  font-size:.85rem; color: var(--gold); font-weight:700; letter-spacing:1px;
  margin-bottom:1rem; display:block;
}
.service-card h4{ font-size:1.3rem; margin-bottom:.8rem; }
.service-card p{ font-size:.93rem; color:#5b5b5b; margin-bottom:1.2rem; }
.service-card .learn{ font-size:.85rem; font-weight:600; color: var(--ink-deep); display:inline-flex; align-items:center; gap:6px; }
.service-card .learn svg{ width:14px; height:14px; transition: transform .3s ease; }
.service-card:hover .learn svg{ transform: translateX(4px); }

/* =========================================================
   Process — genuine sequence, diamond step markers
   ========================================================= */
.process-track{
  position:relative;
  display:flex;
  justify-content:space-between;
  gap:1.5rem;
}
.process-track::before{
  content:"";
  position:absolute; top:32px; left:5%; right:5%; height:1px;
  background: linear-gradient(90deg, transparent, var(--gold) 15%, var(--gold) 85%, transparent);
  z-index:0;
}
.process-step{
  position:relative; z-index:1;
  flex:1;
  text-align:center;
}
.process-step .diamond{
  margin: 0 auto 1.4rem;
  background: var(--ink-deep);
  border-color: var(--gold);
  color: var(--gold-pale);
  font-family: var(--font-display);
  font-weight:700;
}
.process-step h5{ font-size:1.05rem; margin-bottom:.5rem; }
.process-step p{ font-size:.87rem; color:#5b5b5b; }
@media (max-width: 900px){
  .process-track{ flex-direction:column; }
  .process-track::before{ display:none; }
}

/* =========================================================
   Stats
   ========================================================= */
.stat-item{ text-align:center; }
.stat-item .num{
  font-family: var(--font-display);
  font-size: clamp(2.4rem,4vw,3.4rem);
  font-weight:700;
  color: var(--gold);
  line-height:1;
}
.stat-item .lbl{
  margin-top:.6rem;
  font-size:.82rem;
  letter-spacing:1.5px;
  text-transform:uppercase;
  color: rgba(255,255,255,.65);
}

/* =========================================================
   Projects
   ========================================================= */
.project-card{
  position:relative;
  overflow:hidden;
  border-radius: var(--radius-md);
  height: 380px;
  display:block;
}
.project-card img{
  width:100%; height:100%; object-fit:cover;
  transition: transform .6s ease;
}
.project-card:hover img{ transform: scale(1.08); }
.project-card .overlay{
  position:absolute; inset:0;
  background: linear-gradient(180deg, transparent 40%, rgba(20,17,12,.92) 100%);
  display:flex; flex-direction:column; justify-content:flex-end;
  padding: 1.8rem;
}
.project-card .tag{
  align-self:flex-start;
  background: var(--gold);
  color: var(--ink-deep);
  font-size:.7rem; font-weight:700; letter-spacing:1px; text-transform:uppercase;
  padding: .3rem .7rem;
  margin-bottom:.8rem;
}
.project-card h4{ color:var(--white); margin:0; font-size:1.3rem; }
.project-card p{ color: rgba(255,255,255,.75); font-size:.85rem; margin:.3rem 0 0; }

/* =========================================================
   Team
   ========================================================= */
.team-card{ text-align:center; }
.team-photo{
  position:relative;
  border-radius: var(--radius-md);
  overflow:hidden;
  margin-bottom:1.2rem;
  aspect-ratio: 4/5;
}
.team-photo img{ width:100%; height:100%; object-fit:cover; transition: transform .5s ease; }
.team-card:hover .team-photo img{ transform: scale(1.06); }
.team-photo::after{
  content:"";
  position:absolute; left:14px; top:14px;
  width:22px; height:22px;
  border: 2px solid var(--gold);
  transform: rotate(45deg);
  opacity:0; transition: opacity .3s ease;
}
.team-card:hover .team-photo::after{ opacity:1; }
.team-card h5{ font-size:1.1rem; margin-bottom:.15rem; }
.team-card .role{ font-size:.82rem; color: var(--gold); font-weight:600; letter-spacing:.5px; }

/* =========================================================
   Testimonials
   ========================================================= */
.testimonial-card{
  background: var(--white);
  border: 1px solid var(--platinum);
  padding: 2.4rem;
  height:100%;
}
.testimonial-card .quote-mark{
  font-family: var(--font-display);
  font-size:3rem; color: var(--gold-pale); line-height:1; display:block; margin-bottom:.5rem;
}
.testimonial-card p{ font-size:.98rem; color:#4a4a4a; margin-bottom:1.4rem; }
.testimonial-card .who{ display:flex; align-items:center; gap:12px; }
.testimonial-card .who .dot{
  width:36px; height:36px; border-radius:50%;
  background: var(--gold-pale);
  display:flex; align-items:center; justify-content:center;
  font-family: var(--font-display); font-weight:700; color: var(--ink-deep);
  flex-shrink:0;
}
.testimonial-card .who .name{ font-weight:700; font-size:.92rem; color: var(--ink-deep); }
.testimonial-card .who .org{ font-size:.78rem; color:#8a8a8a; }

/* =========================================================
   News
   ========================================================= */
.news-card{ height:100%; }
.news-card .date-badge{
  display:inline-flex; align-items:center; gap:8px;
  font-size:.78rem; color: var(--gold); font-weight:600; letter-spacing:.5px; text-transform:uppercase;
  margin-bottom:.8rem;
}
.news-card .date-badge .diamond-divider{ width:8px; height:8px; }
.news-card h4{ font-size:1.2rem; margin-bottom:.6rem; }
.news-card p{ font-size:.9rem; color:#5b5b5b; }
.news-card a.read-more{ font-size:.85rem; font-weight:600; color:var(--ink-deep); border-bottom:1px solid var(--gold); padding-bottom:2px; }

/* =========================================================
   Careers CTA band
   ========================================================= */
.careers-band{
  background: linear-gradient(120deg, var(--ink-deep) 0%, #241d12 100%);
  color: var(--white);
  border-radius: var(--radius-md);
  padding: 3.5rem;
  position:relative;
  overflow:hidden;
}
.careers-band .diamond-lg{
  position:absolute; right:-10px; top:50%; transform: translateY(-50%) rotate(45deg);
  border-color: rgba(209,151,41,.35);
  background: transparent;
}
.careers-band::before{
  content:"";
  position:absolute; right:60px; top:-40px;
  width:180px; height:180px;
  border: 1px solid rgba(209,151,41,.25);
  transform: rotate(45deg);
}

/* =========================================================
   Contact
   ========================================================= */
.contact-info-item{
  display:flex; gap:1.1rem; align-items:flex-start;
  margin-bottom: 1.8rem;
}
.contact-info-item .diamond{ width:52px; height:52px; flex-shrink:0; }
.contact-info-item .diamond svg{ width:20px; height:20px; stroke: var(--gold); }
.contact-info-item h6{ font-size:.85rem; letter-spacing:1px; text-transform:uppercase; color:#8a8a8a; margin-bottom:.25rem; }
.contact-info-item p{ margin:0; font-weight:600; color: var(--ink-deep); }

.form-control-oligati{
  border: 1px solid var(--platinum);
  border-radius: var(--radius-sm);
  padding: .85rem 1.1rem;
  font-size:.95rem;
}
.form-control-oligati:focus{
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(209,151,41,.15);
}
.form-success{ display:none; color: var(--success); font-weight:600; font-size:.92rem; }

/* =========================================================
   Final CTA
   ========================================================= */
.final-cta{
  background: var(--ink-deep);
  color: var(--white);
  text-align:center;
  position:relative;
  overflow:hidden;
}
.final-cta .diamond-divider-row .line{ background: linear-gradient(90deg, transparent, var(--gold-pale), transparent); }
.final-cta h2{ color:var(--white); font-size: clamp(2rem,4vw,3.2rem); max-width:760px; margin:0 auto 1.6rem; }
.final-cta p{ color: rgba(255,255,255,.7); max-width:560px; margin:0 auto 2.2rem; }

/* =========================================================
   Footer
   ========================================================= */
footer{
  background: #0e0c08;
  color: rgba(255,255,255,.6);
  padding: 4.5rem 0 1.5rem;
  font-size:.9rem;
}
footer .foot-brand{ display:flex; align-items:center; gap:12px; margin-bottom:1.2rem; }
footer .foot-brand img{ height:38px; }
footer .foot-brand span{ font-family:var(--font-display); color:var(--white); font-size:1.1rem; font-weight:700; }
footer h6{ color: var(--white); font-size:.85rem; letter-spacing:1.5px; text-transform:uppercase; margin-bottom:1.3rem; }
footer ul{ list-style:none; padding:0; margin:0; }
footer ul li{ margin-bottom:.7rem; }
footer a{ color: rgba(255,255,255,.6); transition: color .25s ease; }
footer a:hover{ color: var(--gold); }
footer .foot-bottom{
  border-top: 1px solid rgba(255,255,255,.08);
  margin-top: 3rem; padding-top: 1.5rem;
  display:flex; justify-content:space-between; flex-wrap:wrap; gap:1rem;
  font-size:.8rem;
}
.social-row{ display:flex; gap:.7rem; }
.social-row a{
  width:36px; height:36px; border:1px solid rgba(255,255,255,.15);
  display:flex; align-items:center; justify-content:center;
  transition: all .3s ease;
}
.social-row a:hover{ border-color: var(--gold); background: var(--gold); color:var(--ink-deep); }
.social-row svg{ width:15px; height:15px; }

/* =========================================================
   Floating WhatsApp / consultation button
   ========================================================= */
.floating-cta{
  position:fixed; right:26px; bottom:26px; z-index:999;
  width:60px; height:60px;
  background: var(--gold);
  border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  box-shadow: var(--shadow-strong);
  transition: transform .3s ease;
}
.floating-cta:hover{ transform: scale(1.08); }
.floating-cta svg{ width:26px; height:26px; stroke: var(--ink-deep); }

/* =========================================================
   Scroll reveal
   ========================================================= */
.reveal{ opacity:0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in{ opacity:1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce){
  .reveal{ opacity:1; transform:none; transition:none; }
  html{ scroll-behavior:auto; }
}

/* focus visibility */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible{
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
