/**
 * Aktim - Fullpage Sections Styles
 * Mobile-first responsive design with consistent typography
 *
 * Typography uses CSS variables from variables.css:
 * - Font sizes: --text-display, --text-h1, --text-h2, etc.
 * - Font weights: --font-light, --font-regular, --font-medium, etc.
 * - Line heights: --leading-tight, --leading-normal, etc.
 *
 * @package    Aktim
 * @author     Mustafa Erdinc <mustafaerdinc@me.com>
 * @copyright  2024-2026 Bilgicler Yapi
 * @link       https://mustafaerdinc.com.tr
 */

/* ============================================
   CSS VARIABLES - Section Specific
   ============================================ */
:root {
  --section-padding-mobile: clamp(36px, 7svh, 60px) clamp(1.25rem, 5vw, 2rem) calc(clamp(24px, 5svh, 40px) + env(safe-area-inset-bottom, 0px));
  --section-padding-tablet: 80px clamp(2rem, 5vw, 3rem);
  --section-padding-desktop: 100px clamp(2.5rem, 4vw, 4rem);
  --section-max-width: 1400px;
  --section-gap-mobile: clamp(16px, 4svh, 32px);
  --section-gap-tablet: 40px;
  --section-gap-desktop: clamp(60px, 4vw, 100px);
}

/* ============================================
   BASE SECTION STYLES
   ============================================ */
.fp-section {
  position: relative;
  width: 100%;
  min-height: 100vh;
  min-height: 100svh;
  min-height: calc(var(--app-vh) * 100);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--section-padding-mobile);
  overflow: hidden;
}

/* Light Theme */
.fp-section--light {
  background: var(--color-bg);
  color: var(--color-text);
}

/* Dark Theme */
.fp-section--dark {
  background: var(--color-bg-dark);
  color: var(--color-white);
}

/* Section Container */
.fp-section__container {
  position: relative;
  width: 100%;
  max-width: var(--section-max-width);
  margin: 0 auto;
  z-index: 2;
}

/* Background Layers */
.fp-section__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.fp-section__bg--gradient {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
}

.fp-section__bg--image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.15;
}

.fp-section__bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.7) 100%);
}

.fp-section--dark .fp-section__bg-overlay {
  background: linear-gradient(to right, rgba(26,26,26,0.95) 0%, rgba(26,26,26,0.7) 100%);
}

.fp-section__bg--pattern {
  background-image: radial-gradient(circle at 20% 80%, rgba(154, 119, 68, 0.1) 0%, transparent 50%),
                    radial-gradient(circle at 80% 20%, rgba(154, 119, 68, 0.08) 0%, transparent 40%);
}

/* Hero Background - Full Cover Image */
.fp-section__bg--hero {
  overflow: hidden;
}

.fp-section__bg--hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  /* Crisp image rendering */
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  filter: contrast(1.05) saturate(1.1);
}

.fp-section__bg-overlay--dark {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(26, 26, 26, 0.7) 0%,
    rgba(26, 26, 26, 0.5) 50%,
    rgba(26, 26, 26, 0.8) 100%
  );
}

/* Hero Overlay - Same as Specs section (135deg diagonal) */
.fp-section__bg-overlay--hero {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(26, 26, 26, 0.6) 0%,
    rgba(26, 26, 26, 0.35) 40%,
    rgba(26, 26, 26, 0.55) 100%
  );
}

/* Section Number Indicator (reserved, not currently used in HTML) */
.fp-section__number {
  position: absolute;
  bottom: 30px;
  left: clamp(1.25rem, 3vw, 2.5rem);
  font-family: var(--font-primary);
  font-size: var(--text-xs);
  font-weight: var(--font-medium);
  color: var(--color-text-light);
  letter-spacing: var(--tracking-widest);
  opacity: 0.4;
}

.fp-section--dark .fp-section__number {
  color: var(--color-white);
  opacity: 0.2;
}

/* Scroll Indicator */
.fp-section__scroll-indicator {
  position: absolute;
  bottom: calc(8px + env(safe-area-inset-bottom, 0px));
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  color: rgba(255, 255, 255, 0.9);
  animation: bounce 2s infinite;
}

.fp-section__scroll-text {
  font-size: var(--text-xs);
  font-weight: var(--font-medium);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
}

.fp-section__scroll-indicator iconify-icon {
  font-size: 2rem;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-8px); }
  60% { transform: translateX(-50%) translateY(-4px); }
}

/* ============================================
   HERO SECTION
   ============================================ */
.fp-section--hero {
  text-align: center;
}

.fp-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-6);
}

.fp-hero__title-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
}

/* Hero Logo */
.fp-hero__logo {
  width: clamp(200px, 30vw, 320px);
  height: auto;
  filter: brightness(0) invert(1); /* White logo */
  margin-bottom: var(--space-2);
}

/* Title - Under logo */
.fp-hero__title {
  font-family: var(--font-primary);
  font-size: var(--text-h2);
  font-weight: var(--font-bold);
  color: var(--color-white);
  margin: 0;
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
}

/* Description - Matches specs description style */
.fp-hero__description {
  font-size: var(--text-base);
  font-weight: var(--font-regular);
  color: rgba(255, 255, 255, 0.7);
  line-height: var(--leading-relaxed);
  max-width: 480px;
  margin: 0;
}

/* Hero CTA - uses cta-group from components.css */
.fp-hero__actions {
  margin-top: var(--space-6);
}

.fp-hero__actions .cta-group {
  justify-content: center;
}

/* ============================================
   FEATURE SECTION (Based on why-aktim)
   ============================================ */
.fp-feature {
  display: flex;
  flex-direction: column;
  gap: var(--section-gap-mobile);
}

/* Left Column */
.fp-feature__left {
  text-align: center;
}

.fp-feature__title-group {
  margin-bottom: var(--space-5);
}

.fp-feature__title-small {
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--text-decorative);
  font-weight: var(--font-regular);
  margin-bottom: var(--space-1);
  line-height: var(--leading-snug);
}

.fp-section--light .fp-feature__title-small { color: var(--color-text-secondary); }
.fp-section--dark .fp-feature__title-small { color: rgba(255,255,255,0.8); }

.fp-feature__title {
  font-family: var(--font-primary);
  font-size: var(--text-h2);
  font-weight: var(--font-bold);
  margin: 0;
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
}

.fp-section--light .fp-feature__title { color: var(--color-text); }
.fp-section--dark .fp-feature__title { color: var(--color-white); }

.fp-feature__description {
  font-size: var(--text-base);
  font-weight: var(--font-regular);
  line-height: var(--leading-relaxed);
  margin: 0 auto;
  max-width: 360px;
}

.fp-section--light .fp-feature__description { color: var(--color-text-muted); }
.fp-section--dark .fp-feature__description { color: rgba(255,255,255,0.7); }

/* Metrics */
.fp-feature__metrics {
  display: flex;
  justify-content: center;
  gap: var(--space-6);
  margin-top: var(--space-6);
  flex-wrap: wrap;
}

.fp-feature__metric {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.fp-feature__metric iconify-icon {
  font-size: 1.5rem;
  color: var(--color-primary);
}

.fp-feature__metric-content {
  display: flex;
  flex-direction: column;
}

.fp-feature__metric-value {
  font-size: var(--text-base);
  font-weight: var(--font-semibold);
}

.fp-feature__metric-label {
  font-size: var(--text-xs);
  font-weight: var(--font-regular);
  opacity: 0.6;
}

/* Center Column: Values */
.fp-feature__center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.fp-feature__values {
  position: relative;
  display: flex;
  flex-direction: row;
  gap: var(--space-5);
  padding-top: var(--space-4);
}

.fp-feature__values::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: var(--color-primary);
  border-radius: 2px;
}

.fp-feature__value {
  font-family: var(--font-primary);
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  line-height: var(--leading-normal);
}

/* Right Column: Features List */
.fp-feature__right {
  padding: 0;
}

.fp-feature__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.fp-feature__item {
  display: flex;
  align-items: center;
  padding: var(--space-4) 0;
  border-bottom: 1px solid var(--color-border);
  cursor: pointer;
  transition: all var(--transition-medium);
}

.fp-section--dark .fp-feature__item {
  border-bottom-color: var(--color-border-dark);
}

.fp-feature__item:first-child {
  border-top: 1px solid var(--color-border);
}

.fp-section--dark .fp-feature__item:first-child {
  border-top-color: var(--color-border-dark);
}

.fp-feature__item:hover {
  padding-left: var(--space-3);
}

.fp-feature__item:hover .fp-feature__item-arrow {
  transform: translateX(4px);
  color: var(--color-primary);
}

.fp-feature__item-number {
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  min-width: 28px;
  opacity: 0.4;
}

.fp-feature__item-title {
  font-size: var(--text-base);
  font-weight: var(--font-medium);
  flex: 1;
}

.fp-feature__item-arrow {
  font-size: 1rem;
  opacity: 0.3;
  transition: transform var(--transition-medium), color var(--transition-medium);
}

/* Feature CTA - uses cta-group from components.css */
.fp-feature__cta-wrapper {
  margin-top: var(--space-6);
  text-align: center;
}

.fp-feature__cta-wrapper .cta-group {
  justify-content: center;
}

@media (min-width: 992px) {
  .fp-feature__cta-wrapper .cta-group {
    justify-content: flex-start;
  }
}

/* ============================================
   MAP SECTION
   ============================================ */
.fp-map {
  display: flex;
  flex-direction: column;
  gap: var(--section-gap-mobile);
}

.fp-map__left {
  text-align: center;
}

.fp-map__title-group {
  margin-bottom: var(--space-5);
}

.fp-map__title-small {
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--text-decorative);
  font-weight: var(--font-regular);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-1);
}

.fp-map__title {
  font-family: var(--font-primary);
  font-size: var(--text-h2);
  font-weight: var(--font-bold);
  color: var(--color-text);
  margin: 0;
  letter-spacing: var(--tracking-tight);
}

.fp-map__description {
  font-size: var(--text-base);
  font-weight: var(--font-regular);
  color: var(--color-text-muted);
  line-height: var(--leading-relaxed);
  max-width: 360px;
  margin: 0 auto var(--space-6);
}

/* Address */
.fp-map__address {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: var(--space-3);
  font-style: normal;
  margin-bottom: var(--space-6);
}

.fp-map__address iconify-icon {
  font-size: 1.25rem;
  color: var(--color-primary);
  margin-top: 2px;
}

.fp-map__address-content {
  display: flex;
  flex-direction: column;
}

.fp-map__address-line {
  font-size: var(--text-sm);
  font-weight: var(--font-regular);
  color: var(--color-text-secondary);
}

/* Distances */
.fp-map__distances {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}

.fp-map__distance {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3);
  background: var(--color-bg-alt);
  border-radius: var(--radius-md);
}

.fp-map__distance iconify-icon {
  font-size: 1.25rem;
  color: var(--color-primary);
}

.fp-map__distance-content {
  display: flex;
  flex-direction: column;
}

.fp-map__distance-label {
  font-size: var(--text-xs);
  font-weight: var(--font-regular);
  color: var(--color-text-muted);
}

.fp-map__distance-value {
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  color: var(--color-text);
}

/* Map CTA - uses cta-group from components.css */
.fp-map__cta {
  margin-top: var(--space-2);
}

.fp-map__cta .cta-group {
  justify-content: center;
}

@media (min-width: 992px) {
  .fp-map__cta .cta-group {
    justify-content: flex-start;
  }
}

/* Map Center - Values */
.fp-map__center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.fp-map__values {
  display: flex;
  gap: var(--space-5);
  padding-top: var(--space-4);
  position: relative;
}

.fp-map__values::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: var(--color-primary);
  border-radius: 2px;
}

.fp-map__value {
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  color: var(--color-text-secondary);
}

/* Map Embed */
.fp-map__right {
  margin-top: var(--space-5);
}

.fp-map__embed {
  position: relative;
  width: 100%;
  height: clamp(200px, 35svh, 300px);
  background: var(--color-bg-alt);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.fp-map__placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  color: var(--color-text-light);
  font-size: var(--text-sm);
}

.fp-map__placeholder iconify-icon {
  font-size: 3rem;
  color: var(--color-primary);
  opacity: 0.5;
}

.fp-map__iframe {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity var(--transition-medium);
}

.fp-map__iframe.loaded {
  opacity: 1;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
/* Contact background - left-aligned decorative shape */
.fp-section__bg--contact img {
  width: auto;
  height: 100%;
  max-width: none;
  object-fit: contain;
  object-position: left center;
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0.12;
  filter: invert(1);
}

.fp-section__bg-overlay--contact {
  position: absolute;
  inset: 0;
  background: rgba(26, 26, 26, 0.3);
}

.fp-contact {
  display: flex;
  flex-direction: column;
  gap: var(--section-gap-mobile);
}

.fp-contact__left {
  text-align: center;
}

.fp-contact__title-group {
  margin-bottom: var(--space-5);
}

.fp-contact__title-small {
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--text-decorative);
  font-weight: var(--font-regular);
  color: rgba(255,255,255,0.8);
  margin-bottom: var(--space-1);
}

.fp-contact__title {
  font-family: var(--font-primary);
  font-size: var(--text-h2);
  font-weight: var(--font-bold);
  color: var(--color-white);
  margin: 0;
  letter-spacing: var(--tracking-tight);
}

.fp-contact__description {
  font-size: var(--text-base);
  font-weight: var(--font-regular);
  color: rgba(255,255,255,0.7);
  line-height: var(--leading-relaxed);
  max-width: 400px;
  margin: 0 auto var(--space-6);
}

/* Phone CTA in contact left column */
.fp-contact__cta-main {
  margin-bottom: var(--space-6);
}

.fp-contact__cta-main .cta-phone {
  text-decoration: none;
}

.fp-contact__cta-main .cta-phone:hover {
  text-decoration: none;
}

.fp-contact__cta-main .cta-phone__number {
  font-family: var(--font-primary);
  font-size: clamp(1.75rem, 2.5vw + 0.5rem, 2.5rem);
  font-weight: var(--font-light);
  letter-spacing: 2px;
  color: var(--cta-accent);
}

.fp-contact__cta-main .cta-phone__prefix {
  color: rgba(255, 255, 255, 0.6);
}

.fp-contact__cta-main .cta-phone__icon {
  font-size: 32px;
  color: var(--cta-accent);
}

/* Office Hours */
.fp-contact__hours {
  text-align: left;
  max-width: 280px;
  margin: 0 auto;
}

.fp-contact__hours-title {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  color: var(--color-white);
  margin: 0 0 var(--space-3);
}

.fp-contact__hours-title iconify-icon {
  color: var(--color-primary);
}

.fp-contact__hours-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.fp-contact__hours-list li {
  display: flex;
  justify-content: space-between;
  padding: var(--space-2) 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  font-size: var(--text-sm);
}

.fp-contact__hours-day {
  font-weight: var(--font-regular);
  color: rgba(255,255,255,0.6);
}

.fp-contact__hours-time {
  font-weight: var(--font-medium);
  color: var(--color-white);
}

/* Form */
.fp-contact__right {
  padding: 0;
}

/* CRM Embed Form Container */
.fp-contact__form {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  max-width: 420px;
  margin: 0 auto;
}

/* Social Links - uses social-links from components.css */
.fp-contact__social-links {
  position: absolute;
  bottom: 30px;
  right: clamp(1.25rem, 3vw, 2.5rem);
}

/* ============================================
   TABLET RESPONSIVE (min-width: 768px)
   ============================================ */
@media (min-width: 768px) {
  .fp-section {
    padding: var(--section-padding-tablet);
    /* Extra right padding for section nav dots */
    padding-right: clamp(2.5rem, 4vw, 3.5rem);
  }

  .fp-feature,
  .fp-map,
  .fp-contact {
    gap: var(--section-gap-tablet);
  }

  /* Hero - CTA group handled by components.css */
  .fp-hero__actions .cta-group {
    flex-direction: row;
  }

  .fp-map__embed {
    height: 350px;
  }
}

/* ============================================
   DESKTOP RESPONSIVE (min-width: 992px)
   ============================================ */
@media (min-width: 992px) {
  .fp-section {
    padding: var(--section-padding-desktop);
    /* Extra right padding for section nav dots */
    padding-right: clamp(3rem, 4vw, 4rem);
  }

  .fp-feature,
  .fp-map {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: var(--section-gap-desktop);
    align-items: center;
  }

  .fp-contact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--section-gap-desktop);
    align-items: center;
  }

  .fp-feature__left,
  .fp-feature__right,
  .fp-map__left,
  .fp-map__right,
  .fp-contact__left,
  .fp-contact__right {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  /* Feature - Desktop */
  .fp-feature__left {
    text-align: left;
  }

  .fp-feature__values {
    flex-direction: column;
    gap: var(--space-1);
    padding-left: var(--space-5);
    padding-top: 0;
  }

  .fp-feature__values::before {
    left: 0;
    right: auto;
    top: 0;
    bottom: 0;
    width: 3px;
    height: 100%;
  }

  .fp-feature__right {
    padding-left: var(--space-10);
  }

  .fp-feature__cta-wrapper {
    text-align: left;
  }

  .fp-feature__metrics {
    justify-content: flex-start;
  }

  /* Map - Desktop */
  .fp-map__left {
    text-align: left;
  }

  .fp-map__description {
    margin: 0 0 var(--space-6);
  }

  .fp-map__address {
    justify-content: flex-start;
  }

  .fp-map__values {
    flex-direction: column;
    gap: var(--space-1);
    padding-left: var(--space-5);
    padding-top: 0;
  }

  .fp-map__values::before {
    left: 0;
    right: auto;
    top: 0;
    bottom: 0;
    width: 3px;
    height: 100%;
  }

  .fp-map__embed {
    height: 100%;
    min-height: 400px;
  }

  /* Contact - Desktop: 2 column balanced */
  .fp-contact__left {
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .fp-contact__description {
    max-width: none;
    margin: 0 0 var(--space-6);
  }

  .fp-contact__cta-group {
    margin-bottom: var(--space-6);
  }

  .fp-contact__cta-group .cta-group {
    flex-direction: row;
    justify-content: flex-start;
  }

  .fp-contact__hours {
    max-width: 320px;
    margin: 0;
  }

  .fp-contact__form {
    max-width: 420px;
    margin: 0 auto;
  }
}

/* ============================================
   MOBILE ENHANCEMENTS (< 576px)
   ============================================ */
@media (max-width: 575px) {
  /* Hero: hide scroll text, show arrow only */
  .fp-section__scroll-text {
    display: none;
  }

  .fp-section__scroll-indicator {
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  }

  /* Specs: reduce description margin */
  .fp-specs__description {
    font-size: var(--text-base);
    margin-bottom: var(--space-4);
  }

  /* Hero: tighter spacing */
  .fp-hero {
    gap: var(--space-4);
  }

  .fp-hero__actions {
    margin-top: var(--space-4);
  }

  /* Hero CTA: vertical centered layout on mobile */
  .fp-hero__actions .cta-group {
    flex-direction: column;
    align-items: center;
  }

  .fp-hero__actions .cta-phone,
  .fp-hero__actions .btn {
    font-size: 18px;
  }

  .fp-hero__actions .cta-phone__number {
    font-size: 22px;
  }

  /* Specs CTA: centered on mobile */
  .fp-specs__cta .cta-group {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }
}

/* ============================================
   MOBILE ENHANCEMENTS (< 768px)
   ============================================ */
@media (max-width: 767px) {
  /* Sections: align to top on mobile to prevent flex centering overflow */
  .fp-section {
    align-items: flex-start;
    padding-top: clamp(32px, 6svh, 50px);
  }

  /* Section container: center content vertically via auto margins */
  .fp-section__container {
    margin-top: auto;
    margin-bottom: auto;
  }

  /* Badge: compact on mobile */
  .fp-section .fp-specs__badge {
    font-size: var(--text-xs);
    padding: var(--space-1) var(--space-3);
    margin-bottom: var(--space-3);
  }

  /* Area counter: mobile'da gizle */
  .fp-section .fp-specs__center {
    display: none;
  }

  /* Specs: hide description on mobile — title is enough */
  .fp-specs__description {
    display: none;
  }

  /* Specs title: mobile sizing */
  .fp-specs__title-word--small {
    font-size: clamp(1.5rem, 6vw, 2rem);
  }

  .fp-specs__title-word--main {
    font-size: clamp(1.15rem, 4.5vw, 1.5rem);
  }

  /* Specs: reduce gap between columns */
  .fp-specs {
    gap: var(--space-4);
  }

  /* Özellikler: 2 sütun grid */
  .fp-specs__list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0 clamp(8px, 2vw, 16px);
  }

  /* Specs items: no borders on mobile */
  .fp-specs__list .fp-specs__item,
  .fp-specs__list .fp-specs__item:first-child {
    padding: clamp(8px, 1.2svh, 12px) 0;
    gap: clamp(6px, 1.5vw, 10px);
    align-items: flex-start;
    border: none;
    border-top: none;
    border-bottom: none;
  }

  .fp-specs__list .fp-specs__item:hover {
    padding-left: 0;
  }

  .fp-specs__item-icon {
    font-size: clamp(0.85rem, 2.3vw, 1.15rem);
    margin-top: 1px;
    flex-shrink: 0;
    width: clamp(16px, 4vw, 22px);
    text-align: center;
  }

  .fp-specs__item-title {
    font-size: clamp(0.68rem, 2.8vw, 0.8125rem);
    line-height: 1.35;
  }

  /* Hide arrow on mobile to save space */
  .fp-specs__item-arrow {
    display: none;
  }

  /* Contact: hide inline CRM form on mobile */
  .fp-contact__right {
    display: none;
  }

  /* Contact: hide desktop social links on mobile */
  .fp-contact__social-desktop {
    display: none;
  }

  /* Contact: centered layout on mobile */
  .fp-contact__left {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .fp-contact__description {
    margin-left: auto;
    margin-right: auto;
  }

  /* Contact CTA group: centered vertical, equal spacing above/below */
  .fp-contact__cta-group {
    margin-bottom: var(--space-6);
  }

  .fp-contact__cta-group .cta-group {
    flex-direction: column;
    align-items: center;
  }

  /* Contact title: no bold, larger */
  .fp-contact__title {
    font-weight: var(--font-regular);
    font-size: 2rem;
  }

  /* Contact CTA: bigger phone & button, gold accent like specs sections */
  .fp-contact__cta-group .cta-phone__number {
    font-size: 28px;
    color: var(--cta-accent);
  }

  .fp-contact__cta-group .cta-phone__prefix {
    color: rgba(255, 255, 255, 0.6);
  }

  .fp-contact__cta-group .cta-phone__icon {
    color: var(--cta-accent);
  }

  .fp-contact__cta-group .btn {
    font-size: 18px;
    padding: 12px 28px;
  }

  /* Contact hours: wider, no overlap */
  .fp-contact__hours {
    margin: 0;
    max-width: 320px;
    width: 100%;
    text-align: left;
  }

  .fp-contact__hours-list li {
    gap: var(--space-4);
  }

  /* Contact: social links near bottom, centered */
  .fp-contact__social-mobile {
    display: flex;
    justify-content: center;
    margin-top: var(--space-6);
    padding-bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  }

  .fp-contact__social-mobile .social-links {
    justify-content: center;
  }
}

@media (min-width: 768px) {
  /* Hide mobile-only social links on desktop */
  .fp-contact__social-mobile {
    display: none;
  }

  /* Show desktop social links */
  .fp-contact__social-desktop {
    display: flex;
  }
}

/* ============================================
   SHORT VIEWPORT — iPhone SE/8 and similar (< 700px height)
   ============================================ */
@media (max-height: 700px) and (max-width: 767px) {
  .fp-section {
    padding-top: 28px;
    padding-bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  }

  .fp-hero {
    gap: var(--space-3);
  }

  .fp-hero__logo {
    width: clamp(160px, 25vw, 200px);
  }

  .fp-hero__actions {
    margin-top: var(--space-3);
  }

  .fp-specs {
    gap: var(--space-3);
  }

  .fp-specs__title-group {
    margin-bottom: var(--space-2);
  }

  .fp-specs__item {
    padding: 5px 0;
    gap: 6px;
  }

  .fp-specs__item-icon {
    font-size: 0.95rem;
  }

  .fp-map {
    gap: var(--space-3);
  }

  .fp-map__title-group {
    margin-bottom: var(--space-3);
  }

  .fp-map__description {
    margin-bottom: var(--space-3);
  }

  .fp-map__address {
    margin-bottom: var(--space-3);
  }

  .fp-map__distances {
    gap: var(--space-2);
    margin-bottom: var(--space-3);
  }

  .fp-map__embed {
    height: 180px;
  }

  .fp-contact {
    gap: var(--space-3);
  }

  .fp-contact__title-group {
    margin-bottom: var(--space-3);
  }

  .fp-contact__description {
    margin-bottom: var(--space-3);
  }

  .fp-contact__cta-main {
    margin-bottom: var(--space-3);
  }

  .fp-contact__cta-group {
    margin-bottom: var(--space-3);
  }

  .fp-contact__social-mobile {
    margin-top: var(--space-3);
  }

  .fp-feature {
    gap: var(--space-3);
  }

  .fp-feature__title-group {
    margin-bottom: var(--space-3);
  }

  .fp-feature__cta-wrapper {
    margin-top: var(--space-3);
  }
}

/* ============================================
   MEDIUM VIEWPORT — iPhone 12/13/14 standard (700-850px height)
   ============================================ */
@media (max-height: 850px) and (min-height: 701px) and (max-width: 767px) {
  .fp-section {
    padding-top: 36px;
    padding-bottom: calc(28px + env(safe-area-inset-bottom, 0px));
  }

  .fp-specs__item {
    padding: 8px 0;
    gap: 8px;
  }

  .fp-specs__item-icon {
    font-size: 1.15rem;
  }

  .fp-map__embed {
    height: 240px;
  }
}

/* ============================================
   REDUCED MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  .fp-section__scroll-indicator {
    animation: none;
  }

  .fp-feature__item {
    transition: none;
  }
}

/* ============================================
   SECTION NAVIGATION (Fixed Dots)
   ============================================ */
.section-nav {
  position: fixed;
  right: clamp(0.5rem, 1.5vw, 1.25rem);
  top: 50%;
  transform: translateY(-50%);
  z-index: var(--z-fixed);
  display: none;
}

.section-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.section-nav__item {
  position: relative;
}

.section-nav__link {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  padding: var(--space-1);
}

.section-nav__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-text-light);
  opacity: 0.3;
  transition: all var(--transition-medium);
}

.section-nav__link:hover .section-nav__dot,
.section-nav__link.is-active .section-nav__dot {
  background: var(--color-primary);
  opacity: 1;
  transform: scale(1.3);
}

.section-nav__label {
  position: absolute;
  right: 100%;
  margin-right: var(--space-3);
  white-space: nowrap;
  font-size: var(--text-xs);
  font-weight: var(--font-medium);
  color: var(--color-white);
  opacity: 0;
  transform: translateX(10px);
  transition: all var(--transition-medium);
  pointer-events: none;
  /* Background for better visibility */
  background: rgba(26, 26, 26, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.section-nav__link:hover .section-nav__label {
  opacity: 1;
  transform: translateX(0);
}

/* Show nav on tablet+ */
@media (min-width: 768px) {
  .section-nav {
    display: block;
  }
}

/* ============================================
   SPECS SECTION (Animated Presentation)
   ============================================ */
.fp-section--specs {
  background: var(--color-bg-dark);
}

/* Specs Background */
.fp-section__bg--specs {
  overflow: hidden;
}

.fp-section__bg--specs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.85;
  transform: scale(1.05);
  transition: transform 8s ease-out, opacity 1s ease;
  /* Crisp image rendering */
  image-rendering: -webkit-optimize-contrast;
  filter: contrast(1.05) saturate(1.05);
}

.fp-section--specs.is-active .fp-section__bg--specs img {
  transform: scale(1);
  opacity: 0.8;
}

.fp-section__bg-overlay--specs {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(26, 26, 26, 0.6) 0%,
    rgba(26, 26, 26, 0.35) 40%,
    rgba(26, 26, 26, 0.55) 100%
  );
}

/* Specs Container */
.fp-specs {
  display: flex;
  flex-direction: column;
  gap: var(--section-gap-mobile);
}

/* Left Column: Title & Description */
.fp-specs__left {
  text-align: center;
}

/* Badge */
.fp-specs__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: rgba(154, 119, 68, 0.15);
  border: 1px solid rgba(154, 119, 68, 0.3);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: var(--font-medium);
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  margin-bottom: var(--space-5);
  width: fit-content;
  opacity: 0;
  transform: translateY(20px);
}

.fp-specs__badge iconify-icon {
  font-size: 0.875rem;
}

/* Title Group */
.fp-specs__title-group {
  margin-bottom: var(--space-4);
}

.fp-specs__title {
  font-family: var(--font-primary);
  font-size: var(--text-h1);
  font-weight: var(--font-regular);
  color: var(--color-white);
  margin: 0;
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
}

.fp-specs__title-word {
  display: block;
  opacity: 0;
  transform: translateY(30px);
}

/* First line: title_small — BIGGER, light weight */
.fp-specs__title-word--small {
  font-weight: var(--font-light);
  font-size: clamp(2rem, 4vw + 0.5rem, 3.5rem);
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: var(--tracking-normal);
}

/* Second line: title — smaller, regular weight */
.fp-specs__title-word--main {
  font-weight: var(--font-regular);
  font-size: clamp(1.5rem, 3vw + 0.25rem, 2.5rem);
  color: var(--color-white);
}

/* Description */
.fp-specs__description {
  font-size: var(--text-lg);
  font-weight: var(--font-regular);
  color: rgba(255, 255, 255, 0.7);
  line-height: var(--leading-relaxed);
  max-width: 400px;
  margin: 0 auto var(--space-6);
  opacity: 0;
  transform: translateY(20px);
}

/* CTA */
.fp-specs__cta {
  opacity: 0;
  transform: translateY(20px);
}

.fp-specs__cta .cta-group {
  justify-content: center;
}

/* Center Column: Area & Values */
.fp-specs__center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-6);
}

/* Area Counter */
.fp-specs__area {
  text-align: center;
  opacity: 0;
  transform: scale(0.9);
}

.fp-specs__area-value {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: var(--space-1);
  font-family: var(--font-primary);
  font-size: clamp(1.45rem, 2.9vw + 0.35rem, 2.55rem);
  font-weight: var(--font-bold);
  color: var(--color-white);
  line-height: 1.1;
}

.fp-specs__area-separator {
  color: var(--color-primary);
  margin: 0 var(--space-1);
}

.fp-specs__area-unit {
  font-size: 0.4em;
  font-weight: var(--font-medium);
  color: var(--color-primary);
  margin-left: var(--space-2);
}

.fp-specs__area-text {
  display: inline-block;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.fp-specs__area-label {
  display: block;
  font-size: var(--text-sm);
  font-weight: var(--font-regular);
  color: rgba(255, 255, 255, 0.5);
  margin-top: var(--space-2);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
}

/* Values - Hidden */
.fp-specs__values {
  display: none;
}

/* Right Column: Specs List */
.fp-specs__right {
  padding: 0;
}

.fp-specs__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.fp-specs__item {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-4) 0;
  margin-bottom: 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0;
  cursor: pointer;
  transition: all var(--transition-medium);
  opacity: 0;
  transform: translateX(40px);
}

.fp-specs__item:first-child {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.fp-specs__item:hover {
  background: transparent;
  padding-left: var(--space-3);
}

.fp-specs__item:hover .fp-specs__item-icon {
  color: var(--color-white);
}

.fp-specs__item:hover .fp-specs__item-arrow {
  transform: translateX(4px);
  color: var(--color-primary);
  opacity: 1;
}

/* Item Icon - No background, just icon */
.fp-specs__item-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  background: transparent;
  border-radius: 0;
  color: var(--color-primary);
  font-size: 1.75rem;
  flex-shrink: 0;
  transition: all var(--transition-medium);
}

/* Item Number - Hidden */
.fp-specs__item-number {
  display: none;
}

/* Item Title - Large thin font like phone number */
.fp-specs__item-title {
  font-family: var(--font-primary);
  font-size: clamp(1rem, 1.5vw + 0.5rem, 1.25rem);
  font-weight: var(--font-light);
  color: var(--color-white);
  flex: 1;
  letter-spacing: var(--tracking-wide);
}

/* Item Arrow */
.fp-specs__item-arrow {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.2);
  opacity: 0;
  transform: translateX(-8px);
  transition: all var(--transition-medium);
}

/* ============================================
   SPECS SECTION - TABLET (min-width: 768px)
   ============================================ */
@media (min-width: 768px) {
  .fp-specs {
    gap: var(--section-gap-tablet);
  }

  .fp-specs__item {
    padding: var(--space-4) 0;
    gap: var(--space-5);
  }

  .fp-specs__item-icon {
    font-size: 2rem;
  }

  .fp-specs__item-arrow {
    opacity: 0.3;
  }
}

/* ============================================
   SPECS SECTION - DESKTOP (min-width: 992px)
   ============================================ */
@media (min-width: 992px) {
  .fp-specs {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: var(--section-gap-desktop);
    align-items: center;
  }

  .fp-specs__left,
  .fp-specs__right {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .fp-specs__left {
    text-align: left;
  }

  .fp-specs__description {
    margin: 0 0 var(--space-6);
  }

  .fp-specs__cta .cta-group {
    justify-content: flex-start;
  }

  .fp-specs__center {
    align-items: center;
    min-width: 0;
    max-width: clamp(160px, 15vw, 280px);
  }

  .fp-specs__right {
    padding-left: var(--space-6);
  }

  .fp-specs__list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
  }

  .fp-specs__item-icon {
    font-size: 2.25rem;
  }
}

/* ============================================
   SPECS SECTION - LARGE DESKTOP (min-width: 1200px)
   ============================================ */
@media (min-width: 1200px) {
  .fp-specs__list {
    grid-template-columns: repeat(2, 1fr);
    gap: 0 var(--space-8);
  }

  .fp-specs__item {
    border-top: none;
  }

  .fp-specs__item:nth-child(1),
  .fp-specs__item:nth-child(2) {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .fp-specs__item:nth-child(odd) {
    transform: translateX(40px);
  }

  .fp-specs__item:nth-child(even) {
    transform: translateX(-40px);
  }

  .fp-specs__item-icon {
    font-size: 2.5rem;
  }

  .fp-specs__item-title {
    font-size: 1.125rem;
  }
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
  .fp-section {
    min-height: auto;
    page-break-inside: avoid;
  }

  .fp-section__scroll-indicator,
  .fp-section__number,
  .fp-contact__social,
  .section-nav {
    display: none;
  }
}
