/* ============================================================
   R MONARCA CONSTRUCTION — Design System
   Color Palette Derived from Logo: Navy Blue + Gold
   ============================================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

/* --- CSS Custom Properties --- */
:root {
  /* Primary Navy */
  --navy-900: #0D1520;
  --navy-800: #111D30;
  --navy-700: #162744;
  --navy-600: #1B2A4A;
  --navy-500: #233762;
  --navy-400: #2E4A80;
  --navy-300: #3D6199;
  --navy-200: #6B8DB8;
  --navy-100: #A8C1D9;
  --navy-50: #E8EFF5;

  /* Primary Gold */
  --gold-900: #6B4F14;
  --gold-800: #8A6A1B;
  --gold-700: #A67B24;
  --gold-600: #C8962E;
  --gold-500: #D4A740;
  --gold-400: #E0B84B;
  --gold-300: #E8C86A;
  --gold-200: #F0D88E;
  --gold-100: #F7E8B8;
  --gold-50: #FDF6E3;

  /* Neutrals */
  --white: #FFFFFF;
  --off-white: #F9F8F5;
  --warm-gray-50: #F5F3EF;
  --warm-gray-100: #EAE7E0;
  --warm-gray-200: #D5D0C7;
  --warm-gray-300: #B8B2A6;
  --warm-gray-400: #9A9488;
  --warm-gray-500: #7A7468;
  --warm-gray-600: #5A544A;
  --warm-gray-700: #3D3832;
  --warm-gray-800: #2A2520;
  --warm-gray-900: #1A1612;

  /* Semantic */
  --text-primary: var(--navy-800);
  --text-secondary: var(--warm-gray-600);
  --text-muted: var(--warm-gray-400);
  --text-on-dark: #E8EFF5;
  --text-on-dark-muted: #A8B8CC;

  /* Gradients */
  --gradient-gold: linear-gradient(135deg, #B8891F 0%, #D4A740 40%, #E8C86A 70%, #D4A740 100%);
  --gradient-navy: linear-gradient(160deg, #0D1520 0%, #1B2A4A 100%);
  --gradient-hero-overlay: linear-gradient(175deg, rgba(13,21,32,0.92) 0%, rgba(27,42,74,0.78) 45%, rgba(27,42,74,0.55) 100%);
  --gradient-card: linear-gradient(180deg, rgba(27,42,74,0.03) 0%, rgba(27,42,74,0.08) 100%);
  --gradient-section: linear-gradient(180deg, var(--off-white) 0%, var(--white) 100%);

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(13,21,32,0.06), 0 1px 2px rgba(13,21,32,0.04);
  --shadow-md: 0 4px 16px rgba(13,21,32,0.07), 0 2px 4px rgba(13,21,32,0.04);
  --shadow-lg: 0 12px 40px rgba(13,21,32,0.1), 0 4px 12px rgba(13,21,32,0.05);
  --shadow-xl: 0 24px 64px rgba(13,21,32,0.14), 0 8px 20px rgba(13,21,32,0.06);
  --shadow-gold: 0 4px 20px rgba(200,150,46,0.25);
  --shadow-gold-lg: 0 8px 32px rgba(200,150,46,0.3);

  /* Borders */
  --border-light: 1px solid rgba(27,42,74,0.08);
  --border-medium: 1px solid rgba(27,42,74,0.12);
  --border-gold: 1px solid rgba(200,150,46,0.3);

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --space-5xl: 8rem;

  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --line-height-tight: 1.15;
  --line-height-snug: 1.3;
  --line-height-normal: 1.6;
  --line-height-relaxed: 1.75;
  --letter-spacing-tight: -0.02em;
  --letter-spacing-normal: 0;
  --letter-spacing-wide: 0.08em;
  --letter-spacing-wider: 0.14em;

  /* Layout */
  --container-max: 1280px;
  --container-narrow: 960px;
  --container-text: 720px;
  --header-height: 90px;

  /* Transitions */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --duration-fast: 200ms;
  --duration-normal: 350ms;
  --duration-slow: 600ms;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: var(--line-height-normal);
  color: var(--text-primary);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
  background: none;
}

button {
  cursor: pointer;
}

/* --- Container --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.container--narrow {
  max-width: var(--container-narrow);
}

.container--text {
  max-width: var(--container-text);
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: var(--line-height-tight);
  letter-spacing: var(--letter-spacing-tight);
  color: var(--navy-800);
}

h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.625rem); }
h4 { font-size: clamp(1.1rem, 2vw, 1.25rem); font-weight: 600; }

p {
  color: var(--text-secondary);
  line-height: var(--line-height-relaxed);
}

.text-sm { font-size: 0.875rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: clamp(1.125rem, 2vw, 1.25rem); }

/* Section Label / Overline */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: var(--letter-spacing-wider);
  text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: 1rem;
}

.section-label::before {
  content: '';
  width: 28px;
  height: 2px;
  background: var(--gradient-gold);
  border-radius: 2px;
}

.section-title {
  margin-bottom: 1.125rem;
}

.section-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.125rem);
  color: var(--text-secondary);
  max-width: 600px;
  line-height: var(--line-height-relaxed);
}

.section-header {
  margin-bottom: var(--space-3xl);
}

.section-header--center {
  text-align: center;
}

.section-header--center .section-subtitle {
  margin: 0 auto;
}

/* --- Sections --- */
.section {
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.section--navy {
  background: var(--gradient-navy);
  color: var(--text-on-dark);
}

.section--navy h2,
.section--navy h3,
.section--navy h4 {
  color: var(--white);
}

.section--navy p {
  color: var(--text-on-dark-muted);
}

.section--navy .section-label {
  color: var(--gold-400);
}

.section--warm {
  background: var(--off-white);
}

.section--warm-gradient {
  background: var(--gradient-section);
}

/* ============================================================
   HEADER / NAVIGATION
   ============================================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 12px rgba(13,21,32,0.06);
  transition: background var(--duration-normal) var(--ease-out),
              box-shadow var(--duration-normal) var(--ease-out),
              backdrop-filter var(--duration-normal) var(--ease-out);
}

.header--scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 2px 16px rgba(13,21,32,0.08);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.header__logo {
  display: flex;
  align-items: center;
  position: relative;
  z-index: 1001;
}

.header__logo img {
  height: 70px;
  width: auto;
}

.header__nav {
  display: none;
  align-items: center;
  gap: 2rem;
}

.header__link {
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--navy-800);
  letter-spacing: 0.01em;
  position: relative;
  transition: color var(--duration-fast) var(--ease-out);
}

.header--transparent .header__link {
  color: var(--navy-800);
}

.header--scrolled .header__link {
  color: var(--navy-800);
}

.header__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-gold);
  border-radius: 2px;
  transition: width var(--duration-normal) var(--ease-out);
}

.header__link:hover::after,
.header__link--active::after {
  width: 100%;
}

.header__link:hover {
  color: var(--gold-600);
}

.header--transparent .header__link:hover {
  color: var(--gold-600);
}

.header--scrolled .header__link:hover {
  color: var(--gold-600);
}

.header__cta {
  display: none;
  align-items: center;
}

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px 0;
  cursor: pointer;
  z-index: 1001;
  background: none;
  border: none;
}

.hamburger__line {
  width: 100%;
  height: 2.5px;
  background: var(--navy-800);
  border-radius: 2px;
  transition: transform var(--duration-normal) var(--ease-out),
              opacity var(--duration-fast);
}

.header--transparent .hamburger__line {
  background: var(--navy-800);
}

.header--scrolled .hamburger__line {
  background: var(--navy-800);
}

.hamburger--active .hamburger__line:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.hamburger--active .hamburger__line:nth-child(2) {
  opacity: 0;
}

.hamburger--active .hamburger__line:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(13,21,32,0.98);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration-normal) var(--ease-out);
}

.mobile-menu--open {
  opacity: 1;
  pointer-events: all;
}

.mobile-menu__link {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.01em;
  position: relative;
  padding: 0.5rem 0;
  transition: color var(--duration-fast) var(--ease-out);
}

.mobile-menu__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--gradient-gold);
  transition: width var(--duration-normal) var(--ease-out);
}

.mobile-menu__link:hover::after,
.mobile-menu__link--active::after {
  width: 100%;
}

.mobile-menu__link:hover {
  color: var(--gold-400);
}

.mobile-menu__cta {
  margin-top: 1rem;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: 0.02em;
  padding: 0.875rem 2rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--duration-normal) var(--ease-out);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn--primary {
  background: var(--gradient-gold);
  color: var(--navy-900);
  box-shadow: var(--shadow-gold);
}

.btn--primary:hover {
  box-shadow: var(--shadow-gold-lg);
  transform: translateY(-2px);
  filter: brightness(1.08);
}

.btn--secondary {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.3);
}

.btn--secondary:hover {
  border-color: var(--gold-400);
  color: var(--gold-400);
  background: rgba(200,150,46,0.08);
}

.btn--outline {
  background: transparent;
  color: var(--navy-700);
  border: 1.5px solid var(--navy-200);
}

.btn--outline:hover {
  border-color: var(--gold-600);
  color: var(--gold-700);
  background: var(--gold-50);
}

.btn--navy {
  background: var(--navy-700);
  color: var(--white);
}

.btn--navy:hover {
  background: var(--navy-600);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn--sm {
  padding: 0.625rem 1.375rem;
  font-size: 0.875rem;
}

.btn--lg {
  padding: 1rem 2.5rem;
  font-size: 1rem;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: var(--gradient-hero-overlay);
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding-top: calc(var(--header-height) + 2rem);
  padding-bottom: 2rem;
}

.hero__label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: var(--letter-spacing-wider);
  text-transform: uppercase;
  color: var(--gold-400);
  margin-bottom: 1.5rem;
}

.hero__label svg {
  width: 16px;
  height: 16px;
  fill: var(--gold-400);
}

.hero__title {
  font-size: clamp(2.25rem, 6vw, 3.75rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 1.25rem;
}

.hero__title span {
  display: inline;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__description {
  font-size: clamp(1rem, 2vw, 1.175rem);
  color: var(--text-on-dark-muted);
  line-height: var(--line-height-relaxed);
  margin-bottom: 2rem;
  max-width: 560px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

/* Trust Badges */
.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.5rem;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0;
}

.trust-badge__icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(200,150,46,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.trust-badge__icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--gold-400);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.trust-badge__text {
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.01em;
}

/* Page Hero (interior pages) */
.page-hero {
  position: relative;
  padding: calc(var(--header-height) + 4rem) 0 4rem;
  background: var(--gradient-navy);
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 40%;
  height: 100%;
  background: radial-gradient(ellipse at bottom right, rgba(200,150,46,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero__content {
  position: relative;
  z-index: 2;
}

.page-hero__title {
  color: var(--white);
  margin-bottom: 1rem;
}

.page-hero__description {
  font-size: clamp(1rem, 2vw, 1.125rem);
  color: var(--text-on-dark-muted);
  max-width: 600px;
  line-height: var(--line-height-relaxed);
}

.page-hero__breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-on-dark-muted);
  margin-bottom: 1.5rem;
}

.page-hero__breadcrumb a {
  color: var(--gold-400);
  transition: color var(--duration-fast);
}

.page-hero__breadcrumb a:hover {
  color: var(--gold-300);
}

.page-hero__breadcrumb span {
  color: var(--text-on-dark-muted);
}

/* ============================================================
   CARDS
   ============================================================ */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: var(--border-light);
  padding: 2rem;
  transition: all var(--duration-normal) var(--ease-out);
}

.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: rgba(200,150,46,0.15);
}

.card__icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--navy-50);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: background var(--duration-normal) var(--ease-out);
}

.card__image {
  width: 100%;
  height: 200px;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-normal) var(--ease-out);
}

.card:hover .card__image img {
  transform: scale(1.05);
}

.card:hover .card__icon {
  background: rgba(200,150,46,0.1);
}

.card__icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--navy-600);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke var(--duration-normal) var(--ease-out);
}

.card:hover .card__icon svg {
  stroke: var(--gold-600);
}

.card__title {
  font-size: 1.175rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.card__text {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: var(--line-height-relaxed);
  margin-bottom: 1.25rem;
}

.card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gold-700);
  transition: gap var(--duration-normal) var(--ease-out),
              color var(--duration-fast);
}

.card__link svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  transition: transform var(--duration-normal) var(--ease-out);
}

.card__link:hover {
  color: var(--gold-600);
}

.card__link:hover svg {
  transform: translateX(3px);
}

/* Cards Grid */
.cards-grid {
  display: grid;
  gap: 1.5rem;
}

.cards-grid--2 { grid-template-columns: 1fr; }
.cards-grid--3 { grid-template-columns: 1fr; }
.cards-grid--4 { grid-template-columns: 1fr; }

/* ============================================================
   PROCESS / STEPS
   ============================================================ */
.process-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}

.process-step {
  text-align: center;
  position: relative;
}

.process-step__number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(200,150,46,0.1);
  border: 2px solid rgba(200,150,46,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gold-600);
}

.process-step__title {
  font-size: 1.125rem;
  margin-bottom: 0.625rem;
}

.process-step__text {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  max-width: 280px;
  margin: 0 auto;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonial {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: var(--border-light);
  transition: all var(--duration-normal) var(--ease-out);
  position: relative;
}

.testimonial:hover {
  box-shadow: var(--shadow-md);
}

.testimonial__stars {
  display: flex;
  gap: 3px;
  margin-bottom: 1rem;
}

.testimonial__stars svg {
  width: 16px;
  height: 16px;
  fill: var(--gold-500);
}

.testimonial__quote {
  font-size: 1rem;
  color: var(--text-primary);
  line-height: var(--line-height-relaxed);
  font-style: italic;
  margin-bottom: 1.5rem;
}

.testimonial__author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial__avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--gradient-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--navy-900);
  flex-shrink: 0;
}

.testimonial__name {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--navy-800);
}

.testimonial__location {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  background: var(--gradient-navy);
  border-radius: var(--radius-xl);
  padding: clamp(3rem, 6vw, 4.5rem) clamp(2rem, 5vw, 4rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(200,150,46,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.cta-banner__title {
  color: var(--white);
  margin-bottom: 1rem;
  position: relative;
}

.cta-banner__text {
  color: var(--text-on-dark-muted);
  font-size: clamp(1rem, 2vw, 1.125rem);
  max-width: 520px;
  margin: 0 auto 2rem;
  line-height: var(--line-height-relaxed);
  position: relative;
}

.cta-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  position: relative;
}

/* ============================================================
   SERVICE DETAIL SECTIONS
   ============================================================ */
.service-detail {
  display: grid;
  gap: 3rem;
  align-items: center;
  grid-template-columns: 1fr;
}

.service-detail--reverse .service-detail__image {
  order: -1;
}

.service-detail__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
}

.service-detail__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out);
}

.service-detail:hover .service-detail__image img {
  transform: scale(1.03);
}

.service-detail__content h3 {
  margin-bottom: 1rem;
}

.service-detail__content p {
  margin-bottom: 1rem;
}

.service-detail__list {
  margin: 1.25rem 0 1.5rem;
}

.service-detail__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.5rem 0;
  font-size: 0.9375rem;
  color: var(--text-secondary);
}

.service-detail__list li svg {
  width: 18px;
  height: 18px;
  stroke: var(--gold-600);
  fill: none;
  stroke-width: 2.5;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-intro {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

.about-intro__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
}

.about-intro__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.value-card {
  display: flex;
  gap: 1.25rem;
  padding: 1.75rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: var(--border-light);
  transition: all var(--duration-normal) var(--ease-out);
}

.value-card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(200,150,46,0.15);
}

.value-card__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--navy-50);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.value-card__icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--gold-600);
  fill: none;
  stroke-width: 1.5;
}

.value-card__title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.375rem;
}

.value-card__text {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: var(--line-height-relaxed);
}

/* Owner Section */
.owner-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

.owner-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3/4;
  max-width: 400px;
}

.owner-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

.contact-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  border: var(--border-light);
  box-shadow: var(--shadow-sm);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy-700);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  background: var(--off-white);
  border: 1.5px solid var(--warm-gray-200);
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  color: var(--text-primary);
  transition: border-color var(--duration-fast),
              box-shadow var(--duration-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold-500);
  box-shadow: 0 0 0 3px rgba(200,150,46,0.12);
  background: var(--white);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--warm-gray-400);
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--off-white);
  border-radius: var(--radius-md);
  transition: all var(--duration-normal) var(--ease-out);
}

.contact-info-card:hover {
  background: var(--white);
  box-shadow: var(--shadow-md);
}

.contact-info-card__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--navy-700);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-card__icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--gold-400);
  fill: none;
  stroke-width: 2;
}

.contact-info-card__label {
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-wide);
  margin-bottom: 0.25rem;
}

.contact-info-card__value {
  font-size: 1rem;
  font-weight: 500;
  color: var(--navy-800);
}

.contact-info-card__value a {
  color: var(--navy-800);
  transition: color var(--duration-fast);
}

.contact-info-card__value a:hover {
  color: var(--gold-600);
}

.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16/9;
  background: var(--warm-gray-100);
  border: var(--border-light);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ============================================================
   SERVICE AREAS
   ============================================================ */
.areas-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.area-tag {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.125rem;
  background: rgba(200,150,46,0.06);
  border: 1px solid rgba(200,150,46,0.12);
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--navy-700);
  transition: all var(--duration-normal) var(--ease-out);
}

.area-tag svg {
  width: 16px;
  height: 16px;
  stroke: var(--gold-600);
  fill: none;
  stroke-width: 2;
  flex-shrink: 0;
}

.area-tag:hover {
  background: rgba(200,150,46,0.1);
  border-color: rgba(200,150,46,0.25);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--navy-900);
  color: var(--text-on-dark-muted);
  padding: clamp(3rem, 6vw, 5rem) 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer__brand p {
  color: var(--text-on-dark-muted);
  font-size: 0.9375rem;
  margin-top: 1rem;
  max-width: 340px;
  line-height: var(--line-height-relaxed);
}

.footer__brand .header__logo img {
  height: 55px;
  filter: brightness(1.1);
  mix-blend-mode: lighten;
}

.footer__heading {
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 1.25rem;
  letter-spacing: 0.02em;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.footer__link {
  font-size: 0.9375rem;
  color: var(--text-on-dark-muted);
  transition: color var(--duration-fast);
}

.footer__link:hover {
  color: var(--gold-400);
}

.footer__contact-item {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin-bottom: 0.75rem;
  font-size: 0.9375rem;
}

.footer__contact-item svg {
  width: 16px;
  height: 16px;
  stroke: var(--gold-500);
  fill: none;
  stroke-width: 2;
  flex-shrink: 0;
}

.footer__contact-item a {
  color: var(--text-on-dark-muted);
  transition: color var(--duration-fast);
}

.footer__contact-item a:hover {
  color: var(--gold-400);
}

.footer__bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 1.5rem 0;
  font-size: 0.8125rem;
  color: rgba(168,193,217,0.5);
}

/* ============================================================
   MOBILE STICKY CALL BUTTON
   ============================================================ */
.mobile-call-btn {
  display: flex;
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--gradient-gold);
  box-shadow: var(--shadow-gold-lg);
  align-items: center;
  justify-content: center;
  z-index: 998;
  transition: transform var(--duration-normal) var(--ease-out),
              box-shadow var(--duration-normal) var(--ease-out);
}

.mobile-call-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 40px rgba(200,150,46,0.4);
}

.mobile-call-btn svg {
  width: 24px;
  height: 24px;
  stroke: var(--navy-900);
  fill: none;
  stroke-width: 2.5;
}

/* ============================================================
   ANIMATIONS (Intersection Observer Driven)
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--duration-slow) var(--ease-out),
              transform var(--duration-slow) var(--ease-out);
}

.reveal--visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal--delay-1 { transition-delay: 100ms; }
.reveal--delay-2 { transition-delay: 200ms; }
.reveal--delay-3 { transition-delay: 300ms; }
.reveal--delay-4 { transition-delay: 400ms; }
.reveal--delay-5 { transition-delay: 500ms; }

/* Stagger children */
.stagger-children > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--duration-slow) var(--ease-out),
              transform var(--duration-slow) var(--ease-out);
}

.stagger-children--visible > *:nth-child(1) { transition-delay: 0ms; opacity: 1; transform: translateY(0); }
.stagger-children--visible > *:nth-child(2) { transition-delay: 80ms; opacity: 1; transform: translateY(0); }
.stagger-children--visible > *:nth-child(3) { transition-delay: 160ms; opacity: 1; transform: translateY(0); }
.stagger-children--visible > *:nth-child(4) { transition-delay: 240ms; opacity: 1; transform: translateY(0); }
.stagger-children--visible > *:nth-child(5) { transition-delay: 320ms; opacity: 1; transform: translateY(0); }
.stagger-children--visible > *:nth-child(6) { transition-delay: 400ms; opacity: 1; transform: translateY(0); }
.stagger-children--visible > *:nth-child(7) { transition-delay: 480ms; opacity: 1; transform: translateY(0); }
.stagger-children--visible > *:nth-child(8) { transition-delay: 560ms; opacity: 1; transform: translateY(0); }
.stagger-children--visible > *:nth-child(9) { transition-delay: 640ms; opacity: 1; transform: translateY(0); }
.stagger-children--visible > *:nth-child(10) { transition-delay: 720ms; opacity: 1; transform: translateY(0); }
.stagger-children--visible > *:nth-child(n+11) { transition-delay: 800ms; opacity: 1; transform: translateY(0); }

/* Gold separator line */
.gold-line {
  width: 56px;
  height: 3px;
  background: var(--gradient-gold);
  border-radius: 3px;
  margin: 1.25rem 0;
}

/* ============================================================
   WHY CHOOSE US — Horizontal Items
   ============================================================ */
.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.why-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  transition: all var(--duration-normal) var(--ease-out);
}

.why-item:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(200,150,46,0.15);
}

.why-item__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(200,150,46,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.why-item__icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--gold-400);
  fill: none;
  stroke-width: 1.5;
}

.why-item__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.375rem;
}

.why-item__text {
  font-size: 0.9375rem;
  color: var(--text-on-dark-muted);
  line-height: var(--line-height-relaxed);
}

/* ============================================================
   INTRO SECTION
   ============================================================ */
.intro {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

.intro__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  position: relative;
}

.intro__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.intro__image-badge {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  background: var(--gradient-gold);
  color: var(--navy-900);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.875rem;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.intro__content p {
  margin-bottom: 1rem;
}

/* Counter / Stat */
.stats-row {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: var(--border-light);
}

.stat {
  text-align: left;
}

.stat__number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold-600);
  line-height: 1;
}

.stat__label {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

/* ============================================================
   RESPONSIVE — Tablet (min-width: 640px)
   ============================================================ */
@media (min-width: 640px) {
  .cards-grid--2 { grid-template-columns: repeat(2, 1fr); }
  .cards-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .cards-grid--4 { grid-template-columns: repeat(2, 1fr); }

  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .areas-grid { grid-template-columns: repeat(3, 1fr); }

  .form-row { grid-template-columns: repeat(2, 1fr); }

  .trust-badges { gap: 2rem; }
}

/* ============================================================
   RESPONSIVE — Desktop (min-width: 1024px)
   ============================================================ */
@media (min-width: 1024px) {
  :root {
    --header-height: 100px;
  }

  .container {
    padding: 0 2.5rem;
  }

  .hamburger { display: none; }

  .header__nav {
    display: flex;
  }

  .header__cta {
    display: flex;
  }

  .header__logo img {
    height: 80px;
  }

  .cards-grid--3 { grid-template-columns: repeat(3, 1fr); }
  .cards-grid--4 { grid-template-columns: repeat(4, 1fr); }

  .process-grid { grid-template-columns: repeat(4, 1fr); }
  .why-grid { grid-template-columns: repeat(3, 1fr); }
  .values-grid { grid-template-columns: repeat(3, 1fr); }
  .areas-grid { grid-template-columns: repeat(3, 1fr); }

  .intro { grid-template-columns: 1fr 1fr; gap: 4rem; }
  .about-intro { grid-template-columns: 1fr 1fr; gap: 4rem; }
  .owner-section { grid-template-columns: auto 1fr; gap: 4rem; }
  .service-detail { grid-template-columns: 1fr 1fr; gap: 4rem; }
  .contact-grid { grid-template-columns: 1fr 1fr; gap: 3rem; }

  .footer__grid {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 3rem;
  }

  .footer__bottom {
    flex-direction: row;
    justify-content: space-between;
  }

  .mobile-call-btn {
    display: none;
  }
}

/* ============================================================
   RESPONSIVE — Large Desktop (min-width: 1280px)
   ============================================================ */
@media (min-width: 1280px) {
  .container {
    padding: 0 3rem;
  }

  .hero__content {
    max-width: 780px;
  }
}

/* ============================================================
   ACCESSIBILITY
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .stagger-children > * {
    opacity: 1;
    transform: none;
  }
}

:focus-visible {
  outline: 2px solid var(--gold-500);
  outline-offset: 2px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ============================================================
   PRINT
   ============================================================ */
@media print {
  .header, .mobile-call-btn, .mobile-menu { display: none; }
  .hero { min-height: auto; }
  body { color: #000; }
}

/* ========== PORTFOLIO PAGE ========== */
.portfolio-category {
  margin-bottom: 5rem;
  text-align: center;
}

.portfolio-category__title {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  color: var(--navy-800);
  margin-bottom: 0.5rem;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

.portfolio-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-md);
  cursor: pointer;
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-item:hover img {
  transform: scale(1.08);
}

.portfolio-item__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(16, 24, 32, 0.9), rgba(16, 24, 32, 0.2));
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
}

.portfolio-item:hover .portfolio-item__overlay {
  opacity: 1;
}

.portfolio-item__overlay span {
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.1rem;
  transform: translateY(20px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-item:hover .portfolio-item__overlay span {
  transform: translateY(0);
}

.filter-btn.active {
  background-color: var(--primary-color);
  color: var(--white);
}
