/* ===== WebAnchor Studio - Stylesheet ===== */
/* Colors: Deep Sea Blue #0C4A6E, Coral #FB7185, Cream #FFF7ED */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue: #0C4A6E;
  --blue-dark: #083550;
  --blue-light: #0E6FA5;
  --coral: #FB7185;
  --coral-dark: #E5566E;
  --cream: #FFF7ED;
  --cream-dark: #FEF0DB;
  --white: #FFFFFF;
  --gray-100: #F3F4F6;
  --gray-200: #E5E7EB;
  --gray-300: #D1D5DB;
  --gray-500: #6B7280;
  --gray-600: #4B5563;
  --gray-700: #374151;
  --gray-800: #1F2937;
  --gray-900: #111827;
  --font-heading: 'Georgia', 'Times New Roman', serif;
  --font-body: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  --max-width: 1200px;
  --header-height: 80px;
  --radius: 8px;
  --radius-lg: 16px;
  --shadow: 0 4px 24px rgba(12,74,110,0.08);
  --shadow-lg: 0 8px 40px rgba(12,74,110,0.12);
  --transition: 0.3s ease;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--coral); }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; font-size: inherit; }

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); color: var(--blue); line-height: 1.25; font-weight: 700; }
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.2rem; }
p { margin-bottom: 1rem; }
.text-coral { color: var(--coral); }
.text-blue { color: var(--blue); }
.text-cream { color: var(--cream); }

/* --- Layout --- */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; }
.section-sm { padding: 60px 0; }
.section-blue { background: var(--blue); color: var(--cream); }
.section-blue h2, .section-blue h3, .section-blue h4 { color: var(--cream); }
.section-cream { background: var(--cream); }
.section-gray { background: var(--gray-100); }
.text-center { text-align: center; }

.section-header { text-align: center; max-width: 700px; margin: 0 auto 60px; }
.section-header h2 { margin-bottom: 16px; }
.section-header p { color: var(--gray-600); font-size: 1.1rem; }
.section-blue .section-header p { color: rgba(255,247,237,0.8); }
.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--coral);
  margin-bottom: 12px;
}

/* --- Grid --- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  transition: all var(--transition);
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--coral);
  color: var(--white);
  border-color: var(--coral);
}
.btn-primary:hover {
  background: var(--coral-dark);
  border-color: var(--coral-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(251,113,133,0.3);
}
.btn-outline {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue);
}
.btn-outline:hover {
  background: var(--blue);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-white {
  background: var(--white);
  color: var(--blue);
  border-color: var(--white);
}
.btn-white:hover {
  background: var(--cream);
  color: var(--blue);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255,255,255,0.2);
}
.btn-sm { padding: 10px 24px; font-size: 0.9rem; }
.btn-group { display: flex; gap: 16px; flex-wrap: wrap; }

/* --- Header --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  transition: all var(--transition);
  height: var(--header-height);
  display: flex;
  align-items: center;
}
.site-header.scrolled {
  box-shadow: 0 2px 20px rgba(12,74,110,0.1);
  height: 64px;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.site-logo svg { height: 36px; width: auto; }
.site-logo span {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--blue);
}

.main-nav { display: flex; align-items: center; gap: 8px; }
.main-nav a {
  padding: 8px 16px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--gray-700);
  border-radius: var(--radius);
  transition: all var(--transition);
}
.main-nav a:hover, .main-nav a.active { color: var(--coral); }
.nav-cta {
  margin-left: 8px;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px 0;
  z-index: 1001;
}
.hamburger span {
  display: block;
  height: 2px;
  background: var(--blue);
  border-radius: 2px;
  transition: all var(--transition);
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* --- Mobile Nav --- */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--white);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.mobile-nav.active { display: flex; }
.mobile-nav a {
  font-size: 1.3rem;
  padding: 12px 24px;
  font-weight: 500;
  color: var(--gray-700);
}
.mobile-nav a:hover { color: var(--coral); }

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 60%, #061E30 100%);
  color: var(--cream);
  overflow: hidden;
  padding-top: var(--header-height);
}
.hero-content { position: relative; z-index: 2; max-width: 640px; }
.hero h1 { color: var(--cream); margin-bottom: 24px; }
.hero h1 .accent { color: var(--coral); }
.hero p { font-size: 1.2rem; color: rgba(255,247,237,0.85); margin-bottom: 32px; line-height: 1.8; }
.hero-anchor {
  position: absolute;
  right: -40px;
  bottom: -80px;
  width: 500px;
  height: 500px;
  opacity: 0.06;
  z-index: 1;
}
.hero-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1;
}
.hero-wave svg { display: block; width: 100%; }

/* --- Page Hero (inner pages) --- */
.page-hero {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  color: var(--cream);
  padding: 160px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero h1 { color: var(--cream); margin-bottom: 16px; }
.page-hero p { color: rgba(255,247,237,0.8); font-size: 1.15rem; max-width: 600px; margin: 0 auto; }
.page-hero .breadcrumb {
  margin-top: 20px;
  font-size: 0.9rem;
  color: rgba(255,247,237,0.5);
}
.page-hero .breadcrumb a { color: rgba(255,247,237,0.7); }
.page-hero .breadcrumb a:hover { color: var(--coral); }

/* --- Cards --- */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  transition: all var(--transition);
  border: 1px solid var(--gray-200);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.card-icon {
  width: 56px;
  height: 56px;
  background: var(--cream);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--coral);
}
.card-icon svg { width: 28px; height: 28px; }
.card h3 { margin-bottom: 12px; }
.card p { color: var(--gray-600); font-size: 0.95rem; margin-bottom: 0; }

/* --- Services Cards --- */
.service-card { text-align: left; }
.service-card .card-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  color: var(--cream-dark);
  line-height: 1;
  margin-bottom: 16px;
}

/* --- Portfolio --- */
.portfolio-item {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  transition: all var(--transition);
}
.portfolio-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.portfolio-thumb {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.portfolio-thumb .thumb-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.1;
}
.portfolio-thumb .thumb-label {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--cream);
  font-weight: 700;
  z-index: 1;
  text-align: center;
  padding: 0 20px;
}
.portfolio-body { padding: 28px; }
.portfolio-body h3 { margin-bottom: 8px; }
.portfolio-body .portfolio-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}
.portfolio-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
  background: var(--cream);
  color: var(--blue);
}
.portfolio-body p { color: var(--gray-600); font-size: 0.95rem; }

/* --- Portfolio Detail --- */
.portfolio-detail { padding: 40px 0 0; }
.portfolio-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.portfolio-detail-info h3 { margin-bottom: 12px; }
.portfolio-detail-info p { color: var(--gray-600); }
.portfolio-meta { margin-top: 24px; }
.portfolio-meta-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--gray-200);
}
.portfolio-meta-item:last-child { border-bottom: none; }
.portfolio-meta-label { font-weight: 600; color: var(--blue); min-width: 120px; }
.portfolio-meta-value { color: var(--gray-600); }

/* --- Process --- */
.process-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; counter-reset: process; }
.process-step { text-align: center; position: relative; }
.process-step::before {
  counter-increment: process;
  content: counter(process);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--coral);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0 auto 20px;
}
.process-step h4 { margin-bottom: 8px; }
.process-step p { font-size: 0.9rem; color: var(--gray-600); margin-bottom: 0; }

/* connecting line */
.process-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(50% + 36px);
  width: calc(100% - 72px);
  height: 2px;
  background: var(--gray-300);
}

/* --- Stats --- */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; text-align: center; }
.stat-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  color: var(--coral);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label { font-size: 0.95rem; color: rgba(255,247,237,0.7); }

/* --- Testimonials --- */
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  border: 1px solid var(--gray-200);
}
.testimonial-card .stars {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
  color: #FBBF24;
}
.testimonial-card .stars svg { width: 18px; height: 18px; }
.testimonial-text {
  font-size: 1rem;
  color: var(--gray-700);
  font-style: italic;
  line-height: 1.8;
  margin-bottom: 20px;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--blue);
}
.testimonial-name { font-weight: 600; color: var(--blue); }
.testimonial-role { font-size: 0.85rem; color: var(--gray-500); }

/* --- Pricing --- */
.pricing-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 44px 36px;
  border: 2px solid var(--gray-200);
  transition: all var(--transition);
  position: relative;
}
.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.pricing-card.featured {
  border-color: var(--coral);
  transform: scale(1.03);
}
.pricing-card.featured:hover { transform: scale(1.03) translateY(-4px); }
.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--coral);
  color: var(--white);
  padding: 6px 20px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.pricing-name {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--blue);
  margin-bottom: 8px;
}
.pricing-price {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 4px;
}
.pricing-price .from { font-size: 1rem; font-weight: 400; }
.pricing-desc {
  color: var(--gray-500);
  font-size: 0.9rem;
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--gray-200);
}
.pricing-features { margin-bottom: 32px; }
.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  font-size: 0.95rem;
  color: var(--gray-700);
}
.pricing-features li svg { flex-shrink: 0; width: 20px; height: 20px; color: var(--coral); margin-top: 2px; }
.pricing-card .btn { width: 100%; justify-content: center; }

/* --- FAQ --- */
.faq-item {
  border-bottom: 1px solid var(--gray-200);
}
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 24px 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--blue);
  text-align: left;
  font-family: var(--font-heading);
  cursor: pointer;
}
.faq-question svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--coral);
  transition: transform var(--transition);
}
.faq-item.active .faq-question svg { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}
.faq-item.active .faq-answer { max-height: 400px; }
.faq-answer p {
  padding-bottom: 24px;
  color: var(--gray-600);
  line-height: 1.8;
}

/* --- Blog --- */
.blog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  transition: all var(--transition);
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.blog-thumb {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.blog-thumb .thumb-icon { color: rgba(255,247,237,0.2); }
.blog-thumb .thumb-icon svg { width: 64px; height: 64px; }
.blog-category {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--coral);
  color: var(--white);
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.blog-body { padding: 24px; }
.blog-meta {
  font-size: 0.85rem;
  color: var(--gray-500);
  margin-bottom: 10px;
}
.blog-body h3 { font-size: 1.15rem; margin-bottom: 10px; }
.blog-body h3 a { color: var(--blue); }
.blog-body h3 a:hover { color: var(--coral); }
.blog-body p { font-size: 0.92rem; color: var(--gray-600); }

/* --- Contact Form --- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.form-group { margin-bottom: 24px; }
.form-group label {
  display: block;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 8px;
  font-size: 0.95rem;
}
.form-control {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: 1rem;
  transition: border-color var(--transition);
  background: var(--white);
  color: var(--gray-800);
}
.form-control:focus {
  outline: none;
  border-color: var(--coral);
}
textarea.form-control { resize: vertical; min-height: 140px; }
select.form-control { appearance: none; cursor: pointer; }

.contact-info-card {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 36px;
  margin-bottom: 24px;
}
.contact-info-item {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  align-items: flex-start;
}
.contact-info-item:not(:last-child) { border-bottom: 1px solid rgba(12,74,110,0.08); }
.contact-info-icon {
  width: 44px;
  height: 44px;
  background: var(--white);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--coral);
}
.contact-info-icon svg { width: 22px; height: 22px; }
.contact-info-text h4 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 4px; color: var(--gray-500); font-family: var(--font-body); font-weight: 600; }
.contact-info-text p { margin-bottom: 0; color: var(--gray-800); }
.contact-info-text a { color: var(--blue); }
.contact-info-text a:hover { color: var(--coral); }

.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16/9;
  background: var(--gray-200);
}
.map-container iframe { width: 100%; height: 100%; border: 0; }

/* --- Team --- */
.team-card { text-align: center; }
.team-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--cream);
}
.team-card h3 { font-size: 1.15rem; margin-bottom: 4px; }
.team-card .team-role { color: var(--coral); font-weight: 600; font-size: 0.9rem; margin-bottom: 12px; }
.team-card p { font-size: 0.9rem; color: var(--gray-600); }

/* --- CTA Section --- */
.cta-section {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  color: var(--cream);
  text-align: center;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}
.cta-section h2 { color: var(--cream); margin-bottom: 16px; }
.cta-section p { color: rgba(255,247,237,0.8); font-size: 1.15rem; max-width: 600px; margin: 0 auto 32px; }
.cta-anchor-bg {
  position: absolute;
  right: -100px;
  bottom: -100px;
  opacity: 0.04;
}

/* --- Footer --- */
.site-footer {
  background: var(--gray-900);
  color: var(--gray-300);
  padding: 80px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 60px;
}
.footer-brand p { color: var(--gray-500); font-size: 0.92rem; margin-top: 16px; line-height: 1.8; }
.footer-heading {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 20px;
}
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: var(--gray-400); font-size: 0.92rem; }
.footer-links a:hover { color: var(--coral); }
.footer-contact-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 14px;
  font-size: 0.92rem;
}
.footer-contact-item svg { width: 18px; height: 18px; color: var(--coral); flex-shrink: 0; margin-top: 3px; }
.footer-contact-item a { color: var(--gray-400); }
.footer-contact-item a:hover { color: var(--coral); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--gray-500);
}
.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a { color: var(--gray-500); }
.footer-bottom-links a:hover { color: var(--coral); }

/* --- Thank You --- */
.thank-you-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--cream);
}
.thank-you-icon {
  width: 80px;
  height: 80px;
  background: var(--coral);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  color: var(--white);
}
.thank-you-icon svg { width: 40px; height: 40px; }

/* --- Legal Pages --- */
.legal-content { max-width: 800px; margin: 0 auto; }
.legal-content h2 { font-size: 1.5rem; margin-top: 40px; margin-bottom: 16px; }
.legal-content h3 { font-size: 1.2rem; margin-top: 28px; margin-bottom: 12px; }
.legal-content p { color: var(--gray-600); }
.legal-content ul { padding-left: 20px; margin-bottom: 16px; }
.legal-content ul li { list-style: disc; color: var(--gray-600); margin-bottom: 8px; }

/* --- Animations --- */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* --- Responsive --- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(3, 1fr); }
  .process-step:not(:last-child)::after { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .portfolio-detail-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  .section { padding: 70px 0; }
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .pricing-card.featured { transform: none; }
  .pricing-card.featured:hover { transform: translateY(-4px); }

  .main-nav { display: none; }
  .nav-cta { display: none; }
  .hamburger { display: flex; }

  .hero { min-height: auto; padding: 140px 0 100px; }
  .hero-anchor { display: none; }

  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}

@media (max-width: 480px) {
  .process-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .btn-group { flex-direction: column; }
  .btn-group .btn { width: 100%; justify-content: center; }
}

.section::before {
  content: '';
  display: block;
  height: 40px;
  margin-top: -40px;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 1440 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0,20 C240,40 480,0 720,20 C960,40 1200,0 1440,20 L1440,40 L0,40 Z' fill='%23FFFFFF'/%3E%3C/svg%3E") no-repeat bottom;
  background-size: 100% 40px;
}

.section-cream::before {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 1440 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0,20 C240,40 480,0 720,20 C960,40 1200,0 1440,20 L1440,40 L0,40 Z' fill='%23FFF7ED'/%3E%3C/svg%3E");
}

.section-blue::before {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 1440 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0,20 C240,40 480,0 720,20 C960,40 1200,0 1440,20 L1440,40 L0,40 Z' fill='%230C4A6E'/%3E%3C/svg%3E");
}

.main-nav a.active::after {
  content: '';
  display: block;
  height: 3px;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 100 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0,3 C15,6 35,0 50,3 C65,6 85,0 100,3' stroke='%23FB7185' fill='none' stroke-width='2'/%3E%3C/svg%3E") no-repeat;
  background-size: 100% 100%;
  margin-top: 2px;
}

.testimonial-card {
  border-left: 4px solid var(--coral);
  border-image: repeating-linear-gradient(
    to bottom,
    var(--coral) 0px,
    var(--coral) 8px,
    transparent 8px,
    transparent 16px
  ) 4;
}

.card:hover {
  border-bottom: 3px solid var(--coral);
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 8px), 95% 100%, 90% calc(100% - 4px), 85% 100%, 80% calc(100% - 4px), 75% 100%, 70% calc(100% - 4px), 65% 100%, 60% calc(100% - 4px), 55% 100%, 50% calc(100% - 4px), 45% 100%, 40% calc(100% - 4px), 35% 100%, 30% calc(100% - 4px), 25% 100%, 20% calc(100% - 4px), 15% 100%, 10% calc(100% - 4px), 5% 100%, 0 calc(100% - 8px));
}

.content-area {
  max-width: 800px;
  margin: 0 auto;
}
.content-area h2 {
  font-size: 1.5rem;
  margin: 40px 0 16px;
  font-family: var(--font-heading);
  color: var(--blue);
}
.content-area h3 {
  font-size: 1.25rem;
  margin: 28px 0 12px;
  font-family: var(--font-heading);
}
.content-area p {
  color: var(--gray-600);
  margin-bottom: 16px;
  line-height: 1.8;
}
.content-area ul {
  margin: 12px 0 16px 24px;
}
.content-area ul li {
  color: var(--gray-600);
  line-height: 1.8;
  list-style: disc;
  margin-bottom: 4px;
}

.cta-section {
  padding: 80px 0;
  background: var(--cream);
  position: relative;
}

.cta-box {
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  border-radius: var(--radius-lg);
  padding: 48px;
  text-align: center;
  color: var(--cream);
  position: relative;
  overflow: hidden;
}
.cta-box::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 30px;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 1440 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0,15 C240,30 480,0 720,15 C960,30 1200,0 1440,15 L1440,30 L0,30 Z' fill='rgba(255,247,237,0.08)'/%3E%3C/svg%3E") no-repeat bottom;
  background-size: 100% 30px;
}
.cta-box h2 {
  color: var(--cream);
  font-size: 1.75rem;
  margin-bottom: 12px;
}
.cta-box p {
  color: rgba(255,247,237,0.8);
  font-size: 1.063rem;
  margin-bottom: 28px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.page-header {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  color: var(--cream);
  padding: 160px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-header h1 {
  color: var(--cream);
  margin-bottom: 16px;
}
.page-header p {
  color: rgba(255,247,237,0.8);
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto;
}
