/* =========================================================
   SriWebMedia — Stylesheet
   ========================================================= */

:root {
  --ink: #0B1120;
  --ink-2: #131C31;
  --indigo: #5B5FEF;
  --indigo-dark: #4144C4;
  --indigo-tint: #EEEEFD;
  --coral: #FF6B4A;
  --teal: #17B897;
  --surface: #FFFFFF;
  --surface-soft: #F4F5FA;
  --text-dark: #101623;
  --text-gray: #616B7D;
  --border: #E4E7F0;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 16px 40px rgba(11, 17, 32, 0.10);
  --shadow-sm: 0 8px 20px rgba(11, 17, 32, 0.08);
  --font-head: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  line-height: 1.65;
  background: var(--surface);
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary { background: var(--indigo); color: var(--surface); }
.btn-primary:hover { background: var(--indigo-dark); box-shadow: 0 10px 24px rgba(91, 95, 239, 0.35); }

.btn-ghost { background: transparent; color: var(--ink); border-color: var(--border); }
.btn-ghost:hover { background: var(--ink); color: var(--surface); border-color: var(--ink); }

.btn-outline { background: transparent; color: var(--surface); border-color: rgba(255,255,255,0.55); }
.btn-outline:hover { background: rgba(255,255,255,0.14); }

.btn-full { width: 100%; }

/* ---------- Eyebrow / section heading ---------- */
.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  text-transform: lowercase;
  letter-spacing: 0.01em;
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  margin-bottom: 16px;
}
.eyebrow-dark { color: var(--indigo-dark); }
.eyebrow.center { display: block; text-align: center; }

.section-heading {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 56px;
}
.section-heading h2 { font-size: 2.3rem; margin-bottom: 14px; }
.section-heading p { color: var(--text-gray); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.logo span { color: var(--indigo); }
.logo-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--coral);
  display: inline-block;
}
.logo-light { color: var(--surface); }
.logo-light span { color: #9EA2FF; }

.main-nav { display: flex; gap: 38px; }
.main-nav a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-dark);
  transition: color 0.2s ease;
  position: relative;
}
.main-nav a:hover { color: var(--indigo); }

.header-cta { padding: 11px 24px; font-size: 0.88rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: radial-gradient(120% 140% at 15% 0%, var(--ink-2) 0%, var(--ink) 55%);
  overflow: hidden;
}
.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(80% 80% at 30% 30%, #000 0%, transparent 75%);
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 48px;
  padding: 100px 24px 110px;
}
.hero h1 {
  color: var(--surface);
  font-size: 2.9rem;
  font-weight: 700;
  margin-bottom: 22px;
}
.hero-text {
  color: rgba(255,255,255,0.72);
  max-width: 480px;
  margin-bottom: 32px;
  font-size: 1.02rem;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 40px; }

.hero-trust { display: flex; align-items: center; gap: 14px; }
.hero-trust-avatars { display: flex; }
.hero-trust-avatars img {
  width: 36px; height: 36px; border-radius: 50%;
  border: 2px solid var(--ink);
  object-fit: cover;
  margin-left: -10px;
}
.hero-trust-avatars img:first-child { margin-left: 0; }
.hero-trust p { color: rgba(255,255,255,0.7); font-size: 0.88rem; }
.hero-trust strong { color: var(--surface); }

/* ---------- Hero photography ---------- */
.hero-media { position: relative; padding: 0 24px 30px 0; }
.hero-photo-frame {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0,0,0,0.45);
  border: 6px solid rgba(255,255,255,0.06);
}
.hero-photo-frame img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 8 / 9; }
.hero-photo-accent {
  position: absolute;
  left: -34px;
  bottom: -34px;
  width: 42%;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 5px solid var(--ink);
  box-shadow: 0 20px 44px rgba(0,0,0,0.4);
}
.hero-photo-accent img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }

/* ---------- About ---------- */
.about { padding: 110px 0; }
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-media { position: relative; padding-bottom: 40px; }
.about-photo-main {
  width: 78%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.about-photo-card {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 55%;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.about-photo-card img { border-radius: var(--radius) var(--radius) 0 0; }
.about-stat { padding: 16px; text-align: center; }
.about-stat-number {
  display: block;
  font-family: var(--font-head);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--indigo);
}
.about-stat-label { font-size: 0.82rem; color: var(--text-gray); }

.about-copy h2 { font-size: 2.3rem; margin-bottom: 18px; }
.about-copy p { color: var(--text-gray); margin-bottom: 20px; max-width: 480px; }
.about-mini-stats {
  display: flex;
  gap: 28px;
  margin: 28px 0 32px;
  flex-wrap: wrap;
}
.about-mini-stats div { font-size: 0.82rem; color: var(--text-gray); }
.about-mini-stats span {
  display: block;
  font-family: var(--font-head);
  font-size: 1.5rem;
  color: var(--ink);
  font-weight: 700;
}

/* ---------- Services ---------- */
.services { background: var(--surface-soft); padding: 110px 0; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 32px 26px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--indigo); }
.service-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--indigo-tint);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
}
.service-card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.service-card p { color: var(--text-gray); font-size: 0.92rem; }

/* ---------- Process ---------- */
.process { padding: 110px 0; }
.process-photo {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-bottom: 56px;
}
.process-photo img { width: 100%; height: 320px; object-fit: cover; display: block; }
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.process-step { position: relative; padding-top: 8px; }
.process-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 22px;
  left: calc(100% - 4px);
  width: calc(28px + 8px);
  border-top: 1.5px dashed var(--border);
}
.process-num {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--indigo);
  margin-bottom: 14px;
}
.process-step h3 { font-size: 1.1rem; margin-bottom: 8px; }
.process-step p { color: var(--text-gray); font-size: 0.9rem; }

/* ---------- CTA Banner ---------- */
.cta-banner {
  position: relative;
  padding: 120px 0;
  overflow: hidden;
  clip-path: polygon(0 6%, 100% 0, 100% 94%, 0 100%);
}
.cta-banner-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.cta-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(11,17,32,0.95) 0%, rgba(19,28,49,0.88) 55%, rgba(91,95,239,0.55) 100%);
}
.cta-banner-inner { position: relative; text-align: center; }
.cta-banner-inner h2 { color: var(--surface); font-size: 2.2rem; margin-bottom: 36px; }
.cta-banner-buttons { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }

/* ---------- Why Choose Us ---------- */
.why-choose { padding: 100px 0 110px; }
.why-choose-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.why-choose-copy h2 { font-size: 2.3rem; margin-bottom: 18px; }
.why-choose-copy > p { color: var(--text-gray); margin-bottom: 28px; max-width: 460px; }
.checklist { margin-bottom: 34px; }
.checklist li { display: flex; align-items: center; gap: 12px; padding: 9px 0; font-weight: 500; }
.check-icon {
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--teal); color: var(--surface);
  font-size: 0.8rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.why-choose-media { position: relative; }
.why-choose-photo-main { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }
.why-choose-photo-small {
  position: absolute;
  bottom: -36px; left: -36px;
  width: 46%;
  border-radius: var(--radius);
  border: 6px solid var(--surface);
  box-shadow: var(--shadow);
}

/* ---------- Brands ---------- */
.brands { padding: 64px 0; background: var(--surface-soft); }
.brands-heading { text-align: center; color: var(--text-gray); font-size: 0.95rem; margin-bottom: 32px; }
.brands-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 48px; }
.brand-logo {
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #B7BCCB;
  font-size: 1.05rem;
}

/* ---------- Location ---------- */
.location { padding: 110px 0; }
.location-inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: center;
}
.location-copy h2 { font-size: 2.3rem; margin-bottom: 16px; }
.location-copy > p { color: var(--text-gray); margin-bottom: 32px; max-width: 440px; }
.location-photo {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-bottom: 28px;
}
.location-photo img { width: 100%; height: 220px; object-fit: cover; }
.location-detail {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}
.location-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--indigo-tint);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}
.location-detail h4 { font-size: 0.95rem; margin-bottom: 4px; }
.location-detail p { color: var(--text-gray); font-size: 0.92rem; }
.location-copy .btn { margin-top: 8px; }
.location-map {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  height: 440px;
}
.location-map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Quote / Contact ---------- */
.quote { padding: 110px 0; background: var(--surface-soft); }
.quote-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}
.quote-form-wrap h2 { font-size: 2.2rem; margin-bottom: 10px; }
.quote-sub { color: var(--text-gray); margin-bottom: 28px; }
.quote-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: var(--shadow-sm);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-size: 0.82rem; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: 10px;
  border: 1.5px solid var(--border);
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: var(--surface);
  transition: border-color 0.2s ease;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { outline: none; border-color: var(--indigo); }
.form-field.error input,
.form-field.error textarea { border-color: #E0472C; }
.field-error { display: block; color: #E0472C; font-size: 0.78rem; min-height: 16px; margin-top: 4px; }
.form-success { display: none; margin-top: 16px; color: #1E8E5A; font-weight: 500; font-size: 0.9rem; }
.form-success.visible { display: block; }

.quote-media { position: relative; }
.quote-media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }
.quote-media-card {
  position: absolute;
  left: -28px;
  bottom: 28px;
  max-width: 230px;
  background: var(--surface);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.quote-media-card strong { font-size: 0.9rem; }
.quote-media-card span { font-size: 0.8rem; color: var(--text-gray); }

/* ---------- Testimonials ---------- */
.testimonials { padding: 110px 0; }
.testimonial-carousel { display: flex; align-items: center; gap: 20px; }
.testimonial-track-wrap { overflow: hidden; flex: 1; }
.testimonial-track { display: flex; transition: transform 0.4s ease; }
.testimonial-card {
  min-width: 100%;
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card { display: none; }
.testimonial-card.active-group { display: grid; }

.stars { color: var(--coral); letter-spacing: 3px; margin-bottom: 12px; font-size: 0.95rem; }
.testimonial-card p { color: var(--text-gray); font-size: 0.92rem; margin-bottom: 20px; font-style: italic; }
.testimonial-person { display: flex; align-items: center; gap: 12px; }
.testimonial-person img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.testimonial-person span { font-weight: 600; font-size: 0.85rem; }

.carousel-arrow {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: var(--surface);
  font-size: 1.4rem;
  cursor: pointer;
  color: var(--ink);
  flex-shrink: 0;
  transition: background 0.2s ease, color 0.2s ease;
}
.carousel-arrow:hover { background: var(--indigo); color: var(--surface); border-color: var(--indigo); }

.carousel-dots { display: flex; justify-content: center; gap: 8px; margin-top: 30px; }
.carousel-dot { width: 8px; height: 8px; border-radius: 50%; background: #D4D8E4; border: none; cursor: pointer; padding: 0; }
.carousel-dot.active { background: var(--indigo); width: 22px; border-radius: 4px; transition: all 0.25s ease; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,0.68); padding-top: 84px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 60px;
}
.footer-col-brand p { margin: 16px 0 20px; font-size: 0.9rem; max-width: 300px; }
.footer-col h4 { color: var(--surface); font-size: 1rem; margin-bottom: 20px; }
.footer-col a { display: block; margin-bottom: 12px; font-size: 0.9rem; transition: color 0.2s ease; }
.footer-col a:hover { color: var(--coral); }
.footer-contact-line { margin-bottom: 12px; font-size: 0.9rem; }
.footer-cta { margin-top: 10px; color: var(--surface); }
.footer-social { display: flex; gap: 12px; flex-wrap: wrap; }
.footer-social a {
  font-size: 0.82rem;
  padding: 6px 14px;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 999px;
  margin-bottom: 0;
}
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding: 22px 0; font-size: 0.85rem; }
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a:hover { color: var(--coral); }

/* ---------- Scroll reveal ---------- */
@media (prefers-reduced-motion: no-preference) {
  .about-inner, .services-grid, .process-grid, .why-choose-inner,
  .location-inner, .quote-inner, .service-card, .process-step {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
  .service-card, .process-step { transition-delay: 0.05s; }
  .about-inner.in-view, .services-grid.in-view, .process-grid.in-view,
  .why-choose-inner.in-view, .location-inner.in-view, .quote-inner.in-view,
  .service-card.in-view, .process-step.in-view {
    opacity: 1;
    transform: none;
  }
}

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

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1024px) {
  .process-grid { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .process-step:not(:last-child)::after { display: none; }
}

@media (max-width: 960px) {
  .hero-inner, .about-inner, .why-choose-inner, .quote-inner, .location-inner { grid-template-columns: 1fr; }
  .hero-inner { padding: 60px 24px 90px; text-align: center; }
  .hero-text { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-trust { justify-content: center; }
  .hero-media { order: -1; margin-top: 20px; padding: 0 20px; }
  .about-media { margin-bottom: 20px; }
  .why-choose-media { margin-top: 44px; }
  .location-map { height: 340px; }
  .quote-media { order: -1; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .testimonial-card { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .main-nav { display: none; }
  .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .main-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 78px;
    left: 0; right: 0;
    background: var(--surface);
    padding: 20px 24px;
    gap: 16px;
    border-bottom: 1px solid var(--border);
  }
  .hero h1 { font-size: 2rem; }
  .services-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; text-align: left; }
  .form-row { grid-template-columns: 1fr; }
  .quote-media-card { position: static; margin-top: 16px; max-width: 100%; }
  .hero-photo-accent { left: -14px; bottom: -24px; width: 46%; }
  .process-photo img { height: 200px; }
  .location-photo img { height: 180px; }
}
