/* =========================================================
   ANIMAZE GRAPHIC — SERVICES PAGE (EDITORIAL REDESIGN)
   ========================================================= */

:root{
  --ink:#111216;
  --ink-2:#24262d;
  --muted:#6d7280;
  --soft:#f9f9f8; 
  --cream:#fff5ef;
  --orange:#ff6752;
  --orange-dark:#e95643;
  --line:#eaeaea;
  --white:#fff;
  --display:"Archivo",Arial,sans-serif;
  --body:"Inter Tight",Inter,system-ui,sans-serif;
  --mono:"IBM Plex Mono",monospace;
  --max:1240px;
  --gutter:24px;

  /* Font sizes synced exactly with work-detail.css */
  --u-heading:    clamp(1.9rem, 1.4rem + 1.9vw, 2.6rem);
  --u-subheading: clamp(1.05rem, 1rem + .3vw, 1.15rem);
  --u-copy:       0.975rem;
  --u-copy-lh:    1.7;
}

*,
*::before,
*::after{box-sizing:border-box}

html{scroll-behavior:smooth;overflow-x:hidden;-webkit-text-size-adjust:100%}

body{
  margin:0;background:#fff;color:var(--ink);font-family:var(--body);
  font-size:16px;line-height:1.6;-webkit-font-smoothing:antialiased;overflow-x:hidden;
}

img{display:block;max-width:100%;height:auto}
a{text-decoration:none;color:inherit}
.wrap{width:100%;max-width:var(--max);margin:auto;padding:0 var(--gutter)}

.skip{position:absolute;left:-9999px;top:10px;z-index:99999;padding:10px 16px;background:var(--orange);color:#fff}
.skip:focus{left:12px}

/* Shared button */
.hero-btn{
  min-height:48px;padding:0 24px;
  display:inline-flex;align-items:center;justify-content:center;gap:10px;
  border-radius:6px;font-family:var(--display);font-size:11px;font-weight:700;
  letter-spacing:.08em;text-transform:uppercase;transition:all .25s ease;
}
.hero-btn--primary{background:var(--orange);color:#fff;border:1px solid var(--orange)}
.hero-btn--primary:hover{background:var(--orange-dark);border-color:var(--orange-dark);transform:translateY(-3px);box-shadow:0 10px 20px rgba(255,103,82,.2)}

/* Light button for the orange CTA background */
.hero-btn--light{background:#fff;color:#15161a;border:1px solid #fff;}
.hero-btn--light:hover{background:#17181c;color:#fff;border-color:#17181c;transform:translateY(-3px);box-shadow:0 10px 20px rgba(0,0,0,.15)}

/* PAGE HERO WITH BACKGROUND IMAGE */
.page-hero{
  padding:clamp(90px,10vw,120px) 0 clamp(50px,7vw,70px);
  background-image: linear-gradient(rgba(249, 249, 248, 0.75), rgba(249, 249, 248, 0.85)), url('../image/sevives.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  text-align: center;
  border-bottom: 1px solid var(--line);
}
.page-breadcrumb{
  display:inline-flex;align-items:center;gap:10px;margin-bottom:24px;
  color:var(--muted);font-family:var(--mono);font-size:11px;letter-spacing:.08em;
  text-transform: uppercase;
}
.page-breadcrumb a{color:var(--ink); font-weight: 500;}
.page-breadcrumb a:hover{color:var(--orange)}
.page-breadcrumb span{color:#c2c4c9}
.page-breadcrumb span:last-child{color:var(--muted)}

.page-hero h1{
  font-family:var(--display);font-size:var(--u-heading);font-weight:800;
  line-height:1.15;letter-spacing:-.02em;margin:0 auto 20px;color:var(--ink);
  max-width: 100%; /* Edge-to-edge text */
}
.page-hero h1 em{font-style:normal;color:var(--orange)}
.page-lead{
  max-width:900px; /* Wider to match edge-to-edge heading */
  color: var(--ink-2); /* Darker text for visibility over the image */
  font-size:var(--u-copy);
  line-height:var(--u-copy-lh);
  margin:0 auto;
  font-weight: 500; 
}

/* Typing cursor animation */
.blinking-cursor {
  font-weight: 400;
  font-size: 1em;
  color: var(--orange);
  animation: blink 1s step-end infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* JUMP NAV */
.jump-nav{
  position:sticky;top:0;z-index:10;
  padding:16px 0;
  background:rgba(255,255,255,.95);
  -webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);
  border-bottom:1px solid var(--line);
}
.jump-nav__track{
  display:flex;gap:12px;overflow-x:auto;-webkit-overflow-scrolling:touch;
  scrollbar-width:none;
  justify-content: center;
  padding: 4px 0; /* Prevents button clip on hover */
}
.jump-nav__track::-webkit-scrollbar{display:none}
.jump-nav__track a{
  flex:none;padding:8px 18px;background:#fff;border:1px solid var(--line);border-radius:999px;
  font-family:var(--display);font-size:12px;font-weight:600;color:var(--muted);
  transition:all .2s ease;white-space:nowrap;
}
.jump-nav__track a:hover{
  border-color:var(--orange);color:var(--orange);background:var(--cream);
  transform: translateY(-2px);
}

/* EDITORIAL SERVICE SECTIONS */
.svc-section{
  padding:clamp(50px,5vw,70px) 0; /* Decreased space between service sections */
  scroll-margin-top:80px;
  background: #fff;
}
.svc-section--tint{
  background: var(--soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.svc-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: clamp(40px, 6vw, 80px);
}

/* STICKY SIDEBAR WITH TYPOGRAPHY DESIGN */
.svc-sidebar {
  position: sticky;
  top: 120px;
  align-self: start;
}

.svc-sidebar__head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.svc-giant-num {
  font-family: var(--display);
  font-size: 72px;
  font-weight: 800;
  line-height: 0.8;
  color: transparent; 
  -webkit-text-stroke: 2px rgba(255,103,82,0.4); 
}

.svc-category {
  font-family: var(--mono);
  color: var(--ink);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  padding-bottom: 6px; 
}

.svc-sidebar h2 {
  font-family: var(--display);
  font-size: var(--u-heading);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 16px;
}

.svc-sidebar p {
  color: var(--muted);
  font-size: var(--u-copy);
  line-height: var(--u-copy-lh);
  margin: 0;
}

.svc-divider {
  width: 60px;
  height: 3px;
  background: var(--orange);
  margin-top: 32px;
  border-radius: 2px;
}

/* FLOATING SIDEBAR IMAGE */
.svc-sidebar-img {
  display: block;
  width: 100%; 
  margin-top: 30px;
  height: auto;
  border-radius: 12px;
  animation: floatImage 4s ease-in-out infinite; 
}

@keyframes floatImage {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-30px); }
  100% { transform: translateY(0px); }
}

/* CARDLESS 2-COLUMN CONTENT GRID */
.svc-content {
  display: grid;
  grid-template-columns: 1fr 1fr; 
  gap: 40px 32px; 
}

.svc-feature {
  display: flex;
  flex-direction: column; 
  align-items: flex-start;
  gap: 16px;
  transition: transform 0.2s ease;
}

.svc-feature:hover .svc-icon {
  transform: scale(1.08); 
}

.svc-icon {
  width: 48px;
  height: 48px;
  flex: none;
  background: #fff1ec;
  color: var(--orange);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 18px;
  transition: transform 0.3s ease;
}

.svc-text h3 {
  font-family: var(--display);
  font-size: var(--u-subheading);
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 8px;
  line-height: 1.3;
}

.svc-text p {
  color: var(--muted);
  font-size: var(--u-copy);
  line-height: var(--u-copy-lh);
  margin: 0;
}

/* FINAL CTA (ORANGE EDGE-TO-EDGE) */
.service-cta {
  padding: clamp(40px, 5vw, 60px) 0; /* Massively reduced top and bottom space */
  background-color: var(--orange);
  background-image: radial-gradient(circle at top right, rgba(255, 255, 255, 0.15), transparent 60%);
  color: #fff;
  text-align: center;
  position: relative;
}
.service-cta__inner {
  max-width: 1000px;
  margin: auto;
  position: relative;
  z-index: 1;
}
.service-cta h2 {
  font-family: var(--display);
  font-size: var(--u-heading);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.02em;
  margin: 0 0 16px; /* Tightened space below heading */
}
.service-cta h2 em {
  font-style: normal;
  color: #17181c; 
}
.service-cta p {
  font-size: var(--u-copy);
  line-height: var(--u-copy-lh);
  color: rgba(255, 255, 255, 0.9);
  margin: 0 auto 24px; /* Tightened space below paragraph */
  max-width: 850px; 
}
.service-cta .blinking-cursor {
  color: #17181c; 
}

/* RESPONSIVE */
@media(max-width:1050px){
  .svc-layout {
    grid-template-columns: 280px 1fr;
    gap: 40px;
  }
}

@media(max-width:950px){
  .svc-layout {
    grid-template-columns: 1fr;
  }
  .svc-sidebar {
    position: static; 
    padding-bottom: 30px;
  }
  .svc-sidebar p {
    max-width: 600px;
  }
  .svc-divider {
    display: none; 
  }
  .svc-sidebar-img {
    display: none; 
  }
}

@media(max-width:800px){
  .jump-nav__track {
    justify-content: flex-start;
    padding: 0 24px 4px 24px; 
  }
}

@media(max-width:650px){
  :root{--gutter:20px}
  .page-hero{padding:100px 0 50px}
  .svc-section{padding: 40px 0;} /* Reduced padding on mobile */
  
  .svc-content {
    grid-template-columns: 1fr; 
    gap: 40px;
  }
  .svc-feature {
    flex-direction: row; 
    gap: 20px;
  }
  .svc-giant-num {
    font-size: 60px;
  }
  .service-cta {
    padding: 50px 0; /* Reduced mobile CTA padding */
  }
}

@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important}
}