/* ============================================
   Styled.by.AnnaR — Hair & Beauty Salon
   Color Palette: Terracotta + Sand
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
  --color-terracotta: #C4613A;
  --color-terracotta-dark: #A84E2C;
  --color-terracotta-light: #D4856A;
  --color-sand: #F5E6D3;
  --color-sand-light: #FBF5ED;
  --color-sand-dark: #E8D5C0;
  --color-dark: #2A1F1A;
  --color-dark-light: #3D2E27;
  --color-text: #3D2E27;
  --color-text-light: #6B5548;
  --color-text-muted: #9B8578;
  --color-white: #FFFFFF;
  --color-bg: #FBF5ED;
  --color-bg-alt: #F5E6D3;
  --color-bg-dark: #2A1F1A;
  --color-border: #E8D5C0;
  --color-accent-warm: #D4856A;

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

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --shadow-sm: 0 1px 3px rgba(42, 31, 26, 0.08);
  --shadow-md: 0 4px 20px rgba(42, 31, 26, 0.1);
  --shadow-lg: 0 8px 40px rgba(42, 31, 26, 0.12);
  --shadow-xl: 0 16px 60px rgba(42, 31, 26, 0.15);

  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

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

/* --- Geometric Background Shapes --- */
.geo-shapes {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.geo-circle {
  position: absolute;
  border-radius: 50%;
  opacity: 0.06;
  background: var(--color-terracotta);
}

.geo-circle--1 {
  width: 600px;
  height: 600px;
  top: -200px;
  right: -150px;
}

.geo-circle--2 {
  width: 400px;
  height: 400px;
  bottom: 10%;
  left: -100px;
}

.geo-triangle {
  position: absolute;
  width: 0;
  height: 0;
  opacity: 0.05;
  border-style: solid;
  border-width: 0 60px 100px 60px;
  border-color: transparent transparent var(--color-terracotta) transparent;
  top: 40%;
  right: 5%;
  transform: rotate(15deg);
}

.geo-triangle--1 {
  top: 65%;
  right: 8%;
  border-width: 0 40px 70px 40px;
  transform: rotate(-20deg);
  opacity: 0.04;
}

.geo-square {
  position: absolute;
  opacity: 0.05;
  background: var(--color-terracotta);
  border-radius: var(--radius-sm);
  top: 55%;
  left: 3%;
  width: 80px;
  height: 80px;
  transform: rotate(45deg);
}

.geo-square--1 {
  top: 20%;
  left: 6%;
  width: 50px;
  height: 50px;
  opacity: 0.04;
  transform: rotate(30deg);
}

.geo-arc {
  position: absolute;
  border-radius: 50%;
  border: 3px solid var(--color-terracotta);
  opacity: 0.05;
}

.geo-arc--1 {
  width: 200px;
  height: 200px;
  bottom: 30%;
  right: 2%;
}

/* --- Section Reveal Animation --- */
[data-reveal] {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

@media (prefers-reduced-motion: no-preference) {
  [data-reveal] {
    opacity: 0;
    transform: translateY(30px);
  }

  [data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  transition: all var(--transition-base);
  white-space: nowrap;
  border: 2px solid transparent;
}

.btn--primary {
  background: var(--color-terracotta);
  color: var(--color-white);
  border-color: var(--color-terracotta);
}

.btn--primary:hover {
  background: var(--color-terracotta-dark);
  border-color: var(--color-terracotta-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.12);
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(8px);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.7);
  transform: translateY(-2px);
}

.btn--outline {
  background: transparent;
  color: var(--color-terracotta);
  border-color: var(--color-terracotta);
}

.btn--outline:hover {
  background: var(--color-terracotta);
  color: var(--color-white);
  transform: translateY(-2px);
}

.btn--outline-light {
  background: transparent;
  color: var(--color-dark);
  border-color: var(--color-dark);
}

.btn--outline-light:hover {
  background: var(--color-dark);
  color: var(--color-white);
  transform: translateY(-2px);
}

.btn--white {
  background: var(--color-white);
  color: var(--color-terracotta);
  border-color: var(--color-white);
}

.btn--white:hover {
  background: var(--color-sand);
  border-color: var(--color-sand);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn--lg {
  padding: 16px 36px;
  font-size: 16px;
}

.btn--full {
  width: 100%;
  justify-content: center;
}

/* --- Section Header --- */
.section-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-terracotta);
  background: var(--color-terracotta);
  background: rgba(196, 97, 58, 0.1);
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--color-dark);
  margin-bottom: 16px;
}

.section-title-accent {
  color: var(--color-terracotta);
  font-style: italic;
}

.section-subtitle {
  font-size: 17px;
  color: var(--color-text-light);
  max-width: 540px;
  line-height: 1.7;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header .section-subtitle {
  margin: 0 auto;
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all var(--transition-base);
}

.navbar.scrolled {
  background: rgba(251, 245, 237, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  padding: 12px 0;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--color-white);
  transition: color var(--transition-base);
  z-index: 1001;
}

.navbar.scrolled .nav-logo {
  color: var(--color-dark);
}

.nav-logo-mark {
  width: 36px;
  height: 36px;
  background: var(--color-terracotta);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--color-white);
}

.nav-logo-text {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.nav-logo-accent {
  color: var(--color-terracotta);
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  padding: 8px 16px;
  border-radius: 50px;
  transition: all var(--transition-fast);
}

.nav-link:hover {
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.12);
}

.navbar.scrolled .nav-link {
  color: var(--color-text-light);
}

.navbar.scrolled .nav-link:hover {
  color: var(--color-terracotta);
  background: rgba(196, 97, 58, 0.08);
}

.nav-link--cta {
  background: var(--color-terracotta);
  color: var(--color-white) !important;
  margin-left: 8px;
}

.nav-link--cta:hover {
  background: var(--color-terracotta-dark) !important;
  transform: translateY(-1px);
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  height: 20px;
  z-index: 1001;
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-white);
  border-radius: 2px;
  transition: all var(--transition-base);
  transform-origin: center;
}

.navbar.scrolled .nav-toggle-bar {
  background: var(--color-dark);
}

.nav-toggle.active .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--color-dark);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(42, 31, 26, 0.82) 0%,
    rgba(196, 97, 58, 0.65) 50%,
    rgba(42, 31, 26, 0.78) 100%
  );
}

.hero-geo {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}

.hero-geo-shape {
  position: absolute;
}

.hero-geo-shape--circle {
  width: 400px;
  height: 400px;
  border-radius: 50%;
  border: 2px solid rgba(196, 97, 58, 0.3);
  top: 10%;
  right: -100px;
}

.hero-geo-shape--rect {
  width: 120px;
  height: 120px;
  background: var(--color-terracotta);
  opacity: 0.2;
  border-radius: var(--radius-md);
  bottom: 15%;
  right: 10%;
  transform: rotate(30deg);
}

.hero-geo-shape--line {
  width: 200px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--color-terracotta-light), transparent);
  bottom: 35%;
  left: 5%;
  border-radius: 2px;
}

.hero-content {
  position: relative;
  z-index: 3;
  padding: 120px 0 80px;
  max-width: 720px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-sand);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  padding: 8px 18px;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  margin-bottom: 28px;
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  background: var(--color-terracotta-light);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.3); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.08;
  color: var(--color-white);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero-title-accent {
  color: var(--color-terracotta-light);
  font-style: italic;
}

.hero-subtitle {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 56px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero-stat-number {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--color-white);
  line-height: 1;
}

.hero-stat-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 400;
}

.hero-stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
  animation: scroll-line 2s ease-in-out infinite;
}

@keyframes scroll-line {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ============================================
   SERVICES
   ============================================ */
.services {
  padding: 100px 0;
  background: var(--color-bg);
  position: relative;
  z-index: 1;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  position: relative;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  border: 1px solid var(--color-border);
  transition: all var(--transition-base);
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--color-terracotta);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-base);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card--featured {
  background: var(--color-dark);
  border-color: var(--color-dark);
  color: var(--color-white);
}

.service-card--featured::before {
  background: var(--color-terracotta-light);
}

.service-card--featured:hover {
  box-shadow: 0 8px 40px rgba(42, 31, 26, 0.3);
}

.service-card-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-dark);
  background: var(--color-terracotta-light);
  padding: 4px 10px;
  border-radius: 50px;
}

.service-card-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(196, 97, 58, 0.1);
  border-radius: var(--radius-md);
  color: var(--color-terracotta);
  margin-bottom: 20px;
}

.service-card--featured .service-card-icon {
  background: rgba(196, 97, 58, 0.25);
  color: var(--color-terracotta-light);
}

.service-card-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 10px;
  line-height: 1.3;
}

.service-card--featured .service-card-title {
  color: var(--color-white);
}

.service-card-desc {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.7;
  margin-bottom: 18px;
}

.service-card--featured .service-card-desc {
  color: rgba(255, 255, 255, 0.7);
}

.service-card-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.service-card-list li {
  font-size: 13px;
  color: var(--color-text-muted);
  padding-left: 16px;
  position: relative;
}

.service-card-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 5px;
  height: 5px;
  background: var(--color-terracotta);
  border-radius: 50%;
}

.service-card--featured .service-card-list li {
  color: rgba(255, 255, 255, 0.6);
}

.service-card--featured .service-card-list li::before {
  background: var(--color-terracotta-light);
}

/* ============================================
   ABOUT
   ============================================ */
.about {
  padding: 100px 0;
  background: var(--color-bg-alt);
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.about::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: var(--color-terracotta);
  opacity: 0.04;
  border-radius: 50%;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image-wrap {
  position: relative;
}

.about-image-main {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.about-image-main img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  display: block;
}

.about-image-accent {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 200px;
  height: 200px;
  z-index: -1;
}

.about-image-pattern {
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(
    45deg,
    var(--color-terracotta),
    var(--color-terracotta) 2px,
    transparent 2px,
    transparent 8px
  );
  opacity: 0.15;
  border-radius: var(--radius-lg);
}

.about-image-float {
  position: absolute;
  bottom: 24px;
  left: -30px;
  background: var(--color-terracotta);
  color: var(--color-white);
  padding: 20px 24px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
}

.about-float-number {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  line-height: 1;
}

.about-float-label {
  font-size: 13px;
  line-height: 1.4;
  opacity: 0.9;
}

.about-content {
  max-width: 500px;
}

.about-content .section-tag {
  margin-bottom: 16px;
}

.about-text {
  font-size: 15px;
  color: var(--color-text-light);
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-text em {
  color: var(--color-terracotta);
  font-style: normal;
  font-weight: 500;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 28px 0 32px;
}

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.about-feature-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--color-terracotta);
  margin-top: 2px;
}

.about-feature span {
  font-size: 14px;
  color: var(--color-text);
  line-height: 1.5;
}

/* ============================================
   GALLERY
   ============================================ */
.gallery {
  padding: 100px 0;
  background: var(--color-bg);
  position: relative;
  z-index: 1;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto;
  gap: 16px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--transition-slow);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item--tall {
  grid-column: span 4;
  grid-row: span 2;
}

.gallery-item--tall img {
  height: 100%;
  min-height: 460px;
}

.gallery-item:not(.gallery-item--tall) img {
  height: 220px;
}

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(42, 31, 26, 0.7) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 20px;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.gallery-item:hover .gallery-item-overlay {
  opacity: 1;
}

.gallery-item-overlay span {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--color-white);
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials {
  padding: 100px 0;
  background: var(--color-dark);
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.testimonials::before {
  content: '';
  position: absolute;
  top: -150px;
  left: -150px;
  width: 500px;
  height: 500px;
  background: var(--color-terracotta);
  opacity: 0.08;
  border-radius: 50%;
}

.testimonials::after {
  content: '';
  position: absolute;
  bottom: -100px;
  right: -100px;
  width: 350px;
  height: 350px;
  background: var(--color-terracotta-light);
  opacity: 0.06;
  border-radius: 50%;
}

.testimonials .section-tag {
  background: rgba(196, 97, 58, 0.2);
  color: var(--color-terracotta-light);
}

.testimonials .section-title {
  color: var(--color-white);
}

.testimonials .section-subtitle {
  color: rgba(255, 255, 255, 0.6);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
  z-index: 1;
}

.testimonial-card {
  position: relative;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: all var(--transition-base);
}

.testimonial-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(196, 97, 58, 0.3);
  transform: translateY(-4px);
}

.testimonial-card-bg {
  position: absolute;
  top: 20px;
  right: 20px;
  font-family: var(--font-display);
  font-size: 80px;
  font-weight: 700;
  color: var(--color-terracotta);
  opacity: 0.08;
  line-height: 1;
  pointer-events: none;
}

.testimonial-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 18px;
  color: var(--color-terracotta-light);
}

.testimonial-text {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-author-avatar {
  width: 40px;
  height: 40px;
  background: var(--color-terracotta);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  color: var(--color-white);
  flex-shrink: 0;
}

.testimonial-author-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.testimonial-author-name {
  font-weight: 600;
  font-size: 14px;
  color: var(--color-white);
}

.testimonial-author-detail {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner {
  padding: 100px 0;
  background: var(--color-terracotta);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.cta-geo {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.cta-geo-circle {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.1);
  top: -200px;
  left: -150px;
}

.cta-geo-square {
  position: absolute;
  width: 150px;
  height: 150px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  bottom: -50px;
  right: 10%;
  transform: rotate(25deg);
}

.cta-geo-triangle {
  position: absolute;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 50px 80px 50px;
  border-color: transparent transparent rgba(255, 255, 255, 0.08) transparent;
  top: 10%;
  right: 25%;
  transform: rotate(-15deg);
}

.cta-content {
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-tag {
  background: rgba(255, 255, 255, 0.2);
  color: var(--color-white);
}

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.15;
  margin-bottom: 18px;
}

.cta-title-accent {
  font-style: italic;
  color: var(--color-sand);
}

.cta-subtitle {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.85);
  max-width: 540px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

/* ============================================
   CONTACT
   ============================================ */
.contact {
  padding: 100px 0;
  background: var(--color-bg);
  position: relative;
  z-index: 1;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-info .section-tag {
  margin-bottom: 16px;
}

.contact-text {
  font-size: 15px;
  color: var(--color-text-light);
  line-height: 1.8;
  margin-bottom: 32px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-detail-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(196, 97, 58, 0.1);
  border-radius: var(--radius-md);
  color: var(--color-terracotta);
  flex-shrink: 0;
}

.contact-detail-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-terracotta);
  margin-bottom: 4px;
}

.contact-detail-value {
  display: block;
  font-size: 15px;
  color: var(--color-text);
  line-height: 1.6;
}

.contact-link {
  color: var(--color-text);
  transition: color var(--transition-fast);
}

.contact-link:hover {
  color: var(--color-terracotta);
}

/* Contact Form */
.contact-form-wrap {
  max-width: 100%;
}

.contact-form-card {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  padding: 40px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
}

.contact-form-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 6px;
}

.contact-form-subtitle {
  font-size: 14px;
  color: var(--color-text-muted);
  margin-bottom: 28px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 18px;
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: 6px;
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--color-dark);
  background: var(--color-bg);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  outline: none;
}

.form-input::placeholder {
  color: var(--color-text-muted);
}

.form-input:focus {
  border-color: var(--color-terracotta);
  background: var(--color-white);
  box-shadow: 0 0 0 3px rgba(196, 97, 58, 0.1);
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height="12" viewBox="0 0 12 12" fill="none"%3E%3Cpath d="M3 5l3 3 3-3" stroke='%239B8578' stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}

.form-textarea {
  resize: vertical;
  min-height: 100px;
}

/* Form Success */
.form-success {
  text-align: center;
  padding: 40px 20px;
}

.form-success-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  color: var(--color-terracotta);
}

.form-success-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 8px;
}

.form-success-text {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.7;
}

/* ============================================
   MAP SECTION
   ============================================ */
.map-section {
  position: relative;
  height: 300px;
  overflow: hidden;
}

.map-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.6) brightness(1.05);
}

.map-overlay {
  position: absolute;
  inset: 0;
  background: rgba(42, 31, 26, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
}

.map-pin {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.map-label {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--color-white);
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--color-bg-dark);
  padding: 80px 0 0;
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  color: var(--color-white);
}

.footer-logo-mark {
  width: 36px;
  height: 36px;
  background: var(--color-terracotta);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--color-white);
}

.footer-logo-text {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
}

.footer-logo-accent {
  color: var(--color-terracotta-light);
}

.footer-tagline {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.7;
  max-width: 280px;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social-link {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.6);
  transition: all var(--transition-fast);
}

.footer-social-link:hover {
  background: var(--color-terracotta);
  color: var(--color-white);
  transform: translateY(-2px);
}

.footer-heading {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 20px;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--transition-fast);
}

.footer-nav a:hover {
  color: var(--color-terracotta-light);
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.footer-contact-list svg {
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--color-terracotta-light);
}

.footer-contact-list a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--transition-fast);
  line-height: 1.5;
}

.footer-contact-list a:hover {
  color: var(--color-terracotta-light);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
}

.footer-copyright {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.35);
}

.footer-legal {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.25);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials-grid .testimonial-card:last-child {
    grid-column: span 2;
    max-width: 50%;
    margin: 0 auto;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .footer-brand {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    inset: 0;
    background: rgba(42, 31, 26, 0.97);
    backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
    z-index: 1000;
  }

  .nav-menu.open {
    opacity: 1;
    visibility: visible;
  }

  .nav-list {
    flex-direction: column;
    gap: 8px;
  }

  .nav-link {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.8) !important;
    padding: 12px 24px;
  }

  .nav-link:hover {
    color: var(--color-white) !important;
    background: rgba(255, 255, 255, 0.1) !important;
  }

  .nav-link--cta {
    background: var(--color-terracotta) !important;
    color: var(--color-white) !important;
    margin-left: 0;
    margin-top: 12px;
  }

  .hero-content {
    padding: 100px 0 60px;
  }

  .hero-stats {
    gap: 20px;
  }

  .hero-stat-number {
    font-size: 22px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card--featured {
    order: -1;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-image-wrap {
    max-width: 400px;
    margin: 0 auto;
  }

  .about-image-float {
    left: 0;
    bottom: 16px;
  }

  .about-features {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }

  .gallery-item--tall {
    grid-column: span 2;
    grid-row: span 1;
  }

  .gallery-item--tall img {
    min-height: 280px;
  }

  .gallery-item:not(.gallery-item--tall) img {
    height: 200px;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .testimonials-grid .testimonial-card:last-child {
    grid-column: span 1;
    max-width: 100%;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-form-card {
    padding: 28px 24px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-brand {
    grid-column: span 1;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    justify-content: center;
    width: 100%;
  }

  .hero-stats {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .hero-stat-divider {
    display: none;
  }

  .cta-actions {
    flex-direction: column;
    align-items: center;
  }

  .cta-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item--tall {
    grid-column: span 1;
  }
}
