/* TentuDepto Theme — Main Stylesheet */
:root {
    --teal: #4ec3c4;
    --teal-dark: #35a8a9;
    --teal-glow: rgba(78,195,196,0.18);
    --teal-mid: rgba(78,195,196,0.08);
    --black: #0a0a0a;
    --dark: #111213;
    --card: #161819;
    --card2: #1c1e1f;
    --border: rgba(78,195,196,0.15);
    --border-subtle: rgba(255,255,255,0.06);
    --white: #f5f5f3;
    --muted: #8a8f94;
    --font-display: 'Bebas Neue', sans-serif;
    --font-head: 'Syne', sans-serif;
    --font-body: 'DM Sans', sans-serif;
}

:root {
    --teal: #4ec3c4;
    --teal-dark: #35a8a9;
    --teal-glow: rgba(78,195,196,0.18);
    --teal-mid: rgba(78,195,196,0.08);
    --black: #0a0a0a;
    --dark: #111213;
    --card: #161819;
    --card2: #1c1e1f;
    --border: rgba(78,195,196,0.15);
    --border-subtle: rgba(255,255,255,0.06);
    --white: #f5f5f3;
    --muted: #8a8f94;
    --font-display: 'Bebas Neue', sans-serif;
    --font-head: 'Syne', sans-serif;
    --font-body: 'DM Sans', sans-serif;
  }

  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  
  html { scroll-behavior: smooth; }
  
  body {
    background: var(--black);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
  }

  /* ─── PAGES ─── */
  .page { display: none; }
  .page.active { display: block; }

  /* ─── NAV ─── */
  nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 0 48px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(10,10,10,0.92);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
  }

  .nav-logo {
    font-family: var(--font-display);
    font-size: 26px;
    letter-spacing: 0.05em;
    color: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .nav-logo span {
    color: var(--teal);
  }

  .nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
    list-style: none;
  }

  .nav-links a {
    color: var(--muted);
    text-decoration: none;
    font-family: var(--font-head);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: color 0.2s;
    cursor: pointer;
  }

  .nav-links a:hover,
  .nav-links a.active { color: var(--white); }

  .nav-cta {
    background: var(--teal);
    color: var(--black) !important;
    padding: 10px 22px;
    border-radius: 4px;
    font-weight: 700 !important;
    transition: background 0.2s, transform 0.15s !important;
  }

  .nav-cta:hover {
    background: #5dd4d5 !important;
    transform: translateY(-1px);
  }

  /* ─── HERO ─── */
  .hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 0;
  }

  .hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('https://images.unsplash.com/photo-1506905925346-21bda4d32df4?w=1920&q=80');
    background-size: cover;
    background-position: center 40%;
    background-repeat: no-repeat;
    background-color: #0d1415;
  }

  .hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: 
      linear-gradient(105deg, rgba(10,10,10,0.96) 0%, rgba(10,10,10,0.82) 55%, rgba(10,10,10,0.6) 100%),
      linear-gradient(180deg, rgba(10,10,10,0.2) 0%, rgba(10,10,10,0.9) 100%);
  }

  .hero-grid-lines {
    position: absolute;
    inset: 0;
    background-image: 
      linear-gradient(rgba(78,195,196,0.05) 1px, transparent 1px),
      linear-gradient(90deg, rgba(78,195,196,0.05) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: radial-gradient(ellipse 70% 80% at 30% 50%, black 20%, transparent 100%);
  }

  /* ─── FLIP CARDS ─── */
  .flip-section {
    background: var(--dark);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    overflow: hidden;
  }

  .flip-section-header {
    max-width: 1200px;
    margin: 0 auto 56px;
  }

  .flip-cards-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }

  .flip-card-wrap {
    perspective: 1000px;
    height: 260px;
    cursor: pointer;
  }

  .flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.65s cubic-bezier(0.4, 0.2, 0.2, 1);
  }

  .flip-card-wrap:hover .flip-card-inner {
    transform: rotateY(180deg);
  }

  .flip-front,
  .flip-back {
    position: absolute;
    inset: 0;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 32px 28px;
    background: var(--teal);
    overflow: hidden;
  }

  .flip-front::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.08) 0%, transparent 60%);
    pointer-events: none;
  }

  .flip-back {
    transform: rotateY(180deg);
    background: linear-gradient(135deg, #3aafb0, #2d9899);
    border: 1px solid rgba(255,255,255,0.15);
  }

  .flip-front-title {
    font-family: var(--font-display);
    font-size: 42px;
    line-height: 1;
    letter-spacing: 0.02em;
    color: white;
  }

  .flip-front-tag {
    font-family: var(--font-head);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
  }

  .flip-back-text {
    font-size: 15px;
    color: white;
    line-height: 1.7;
    font-family: var(--font-body);
    font-weight: 300;
    flex: 1;
    display: flex;
    align-items: center;
  }

  .flip-back-footer {
    font-family: var(--font-head);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
  }

  /* ─── GOOGLE REVIEWS ─── */
  .reviews-section {
    background: var(--black);
    border-top: 1px solid var(--border-subtle);
  }

  .reviews-header {
    max-width: 1200px;
    margin: 0 auto 56px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
  }

  .google-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--card);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    padding: 12px 20px;
  }

  .google-badge-score {
    font-family: var(--font-display);
    font-size: 32px;
    color: var(--white);
    line-height: 1;
  }

  .google-badge-right {
    display: flex;
    flex-direction: column;
    gap: 2px;
  }

  .google-stars {
    color: #FBBC04;
    font-size: 14px;
    letter-spacing: 2px;
  }

  .google-label {
    font-size: 11px;
    color: var(--muted);
    font-family: var(--font-head);
    font-weight: 600;
    letter-spacing: 0.08em;
  }

  .reviews-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .review-card {
    background: var(--card);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    padding: 28px;
    position: relative;
    transition: border-color 0.2s, transform 0.2s;
  }

  .review-card:hover {
    border-color: var(--border);
    transform: translateY(-3px);
  }

  .review-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
  }

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

  .review-info {
    flex: 1;
  }

  .review-name {
    font-family: var(--font-head);
    font-size: 14px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 2px;
  }

  .review-meta {
    font-size: 12px;
    color: var(--muted);
  }

  .review-google-icon {
    width: 20px; height: 20px;
    opacity: 0.6;
    font-size: 14px;
  }

  .review-stars-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
  }

  .review-stars-row .stars-gold {
    color: #FBBC04;
    font-size: 13px;
    letter-spacing: 1px;
  }

  .review-date {
    font-size: 11px;
    color: var(--muted);
  }

  .review-text {
    font-size: 14px;
    color: #c0c4c8;
    line-height: 1.7;
    font-style: italic;
  }

  .review-verified {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid var(--border-subtle);
    font-size: 11px;
    color: var(--muted);
    font-family: var(--font-head);
    font-weight: 600;
    letter-spacing: 0.06em;
  }

  .review-verified::before {
    content: '✓';
    color: #4ade80;
    font-size: 12px;
  }

  .hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: calc(72px + 60px) 48px calc(100px + 60px);
  }

  .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--teal-mid);
    border: 1px solid var(--border);
    border-radius: 100px;
    padding: 6px 16px;
    font-family: var(--font-head);
    font-size: 12px;
    font-weight: 600;
    color: var(--teal);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 32px;
    animation: fadeUp 0.6s ease both;
  }

  .hero-badge::before {
    content: '';
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--teal);
    animation: pulse 2s ease infinite;
  }

  .hero-title {
    font-family: var(--font-display);
    font-size: clamp(72px, 9vw, 130px);
    line-height: 0.92;
    letter-spacing: 0.02em;
    color: var(--white);
    margin-bottom: 8px;
    animation: fadeUp 0.6s 0.1s ease both;
  }

  .hero-title .accent {
    color: var(--teal);
    display: block;
  }

  .hero-subtitle {
    font-family: var(--font-head);
    font-size: clamp(14px, 1.5vw, 17px);
    font-weight: 400;
    color: var(--muted);
    max-width: 520px;
    margin: 28px 0 48px;
    line-height: 1.7;
    animation: fadeUp 0.6s 0.2s ease both;
  }

  .hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    animation: fadeUp 0.6s 0.3s ease both;
  }

  .btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--teal);
    color: var(--black);
    padding: 16px 32px;
    border-radius: 4px;
    font-family: var(--font-head);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  }

  .btn-primary:hover {
    background: #5dd4d5;
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(78,195,196,0.3);
  }

  .btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    color: var(--white);
    padding: 16px 32px;
    border-radius: 4px;
    font-family: var(--font-head);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid var(--border-subtle);
    transition: border-color 0.2s, color 0.2s;
  }

  .btn-secondary:hover {
    border-color: var(--teal);
    color: var(--teal);
  }

  /* stats bar */
  .hero-stats {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    border-top: 1px solid var(--border-subtle);
    background: rgba(10,10,10,0.7);
    backdrop-filter: blur(10px);
    display: flex;
    animation: fadeUp 0.6s 0.5s ease both;
  }

  .stat-item {
    flex: 1;
    padding: 28px 48px;
    border-right: 1px solid var(--border-subtle);
  }

  .stat-item:last-child { border-right: none; }

  .stat-num {
    font-family: var(--font-display);
    font-size: 42px;
    color: var(--teal);
    line-height: 1;
    letter-spacing: 0.02em;
  }

  .stat-label {
    font-size: 13px;
    color: var(--muted);
    font-weight: 300;
    margin-top: 4px;
  }

  /* ─── SECTION ─── */
  section {
    padding: 100px 48px;
  }

  .section-tag {
    font-family: var(--font-head);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 16px;
  }

  .section-title {
    font-family: var(--font-display);
    font-size: clamp(44px, 5vw, 72px);
    line-height: 0.95;
    letter-spacing: 0.02em;
    margin-bottom: 20px;
  }

  .section-desc {
    font-size: 16px;
    color: var(--muted);
    max-width: 560px;
    line-height: 1.75;
  }

  /* ─── ABOUT ─── */
  .about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
  }

  .about-visual {
    position: relative;
  }

  .about-card-main {
    background: var(--card);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    padding: 40px;
    position: relative;
    overflow: hidden;
  }

  .about-card-main::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--teal), transparent);
  }

  .about-points {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .about-point {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    font-size: 15px;
    color: #ccc;
    line-height: 1.5;
  }

  .about-point::before {
    content: '→';
    color: var(--teal);
    font-size: 14px;
    margin-top: 2px;
    flex-shrink: 0;
  }

  .highlight-box {
    background: var(--teal-mid);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 20px 24px;
    margin-top: 24px;
    font-size: 14px;
    color: var(--teal);
    font-weight: 500;
    font-family: var(--font-head);
  }

  /* ─── PROCESS ─── */
  .process-section {
    background: var(--dark);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
  }

  .process-header {
    max-width: 1200px;
    margin: 0 auto 64px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
  }

  .process-steps {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    position: relative;
  }

  .process-steps::before {
    content: '';
    position: absolute;
    top: 28px;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), var(--teal), var(--border), transparent);
  }

  .step {
    padding: 0 24px;
    text-align: center;
    position: relative;
  }

  .step-num {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--card2);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-family: var(--font-display);
    font-size: 22px;
    color: var(--teal);
    position: relative;
    z-index: 1;
    transition: background 0.2s, border-color 0.2s;
  }

  .step:hover .step-num {
    background: var(--teal-glow);
    border-color: var(--teal);
  }

  .step-title {
    font-family: var(--font-head);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--white);
    margin-bottom: 10px;
  }

  .step-desc {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.6;
  }

  /* ─── PROJECTS ─── */
  .projects-header {
    max-width: 1200px;
    margin: 0 auto 56px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
  }

  .projects-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .project-card {
    background: var(--card);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    overflow: hidden;
    transition: border-color 0.25s, transform 0.25s;
    cursor: pointer;
  }

  .project-card:hover {
    border-color: var(--teal);
    transform: translateY(-4px);
  }

  .card-img {
    height: 200px;
    background: linear-gradient(135deg, #161819, #1e2326);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
  }

  .card-img-icon {
    font-size: 48px;
    opacity: 0.15;
  }

  .card-badge {
    position: absolute;
    top: 14px; left: 14px;
    background: var(--teal);
    color: var(--black);
    font-family: var(--font-head);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 4px 10px;
    border-radius: 3px;
  }

  .card-badge.urgent {
    background: #ff6b35;
    color: white;
  }

  .card-commune {
    position: absolute;
    bottom: 14px; right: 14px;
    background: rgba(0,0,0,0.7);
    color: var(--muted);
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 3px;
  }

  .card-body {
    padding: 24px;
  }

  .card-title {
    font-family: var(--font-head);
    font-size: 18px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
  }

  .card-type {
    font-size: 13px;
    color: var(--teal);
    font-weight: 500;
    margin-bottom: 16px;
  }

  .card-specs {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
  }

  .spec-tag {
    font-size: 12px;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border-subtle);
    color: var(--muted);
    padding: 4px 10px;
    border-radius: 3px;
    font-family: var(--font-head);
    font-weight: 600;
  }

  .card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid var(--border-subtle);
  }

  .card-price {
    font-family: var(--font-display);
    font-size: 28px;
    color: var(--white);
    letter-spacing: 0.02em;
  }

  .card-price span {
    font-size: 14px;
    color: var(--muted);
    font-family: var(--font-body);
    font-weight: 300;
  }

  .card-pie {
    font-size: 12px;
    color: var(--teal);
    font-family: var(--font-head);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
  }

  /* ─── TESTIMONIALS ─── */
  .testimonials-section {
    background: var(--dark);
    border-top: 1px solid var(--border-subtle);
  }

  .testimonials-grid {
    max-width: 1200px;
    margin: 56px auto 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .testimonial-card {
    background: var(--card);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    padding: 32px;
    position: relative;
    transition: border-color 0.2s;
  }

  .testimonial-card:hover {
    border-color: var(--border);
  }

  .testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px; right: 24px;
    font-family: var(--font-display);
    font-size: 72px;
    color: var(--teal);
    opacity: 0.15;
    line-height: 1;
  }

  .stars {
    color: var(--teal);
    font-size: 13px;
    margin-bottom: 16px;
    letter-spacing: 2px;
  }

  .testimonial-text {
    font-size: 14px;
    color: #bbb;
    line-height: 1.75;
    margin-bottom: 24px;
    font-style: italic;
  }

  .testimonial-author {
    font-family: var(--font-head);
    font-size: 13px;
    font-weight: 700;
    color: var(--white);
  }

  .testimonial-source {
    font-size: 12px;
    color: var(--muted);
    margin-top: 2px;
  }

  /* ─── FORM SECTION ─── */
  .form-section {
    background: linear-gradient(135deg, var(--dark) 0%, #0d1415 100%);
    border-top: 1px solid var(--border);
    position: relative;
    overflow: hidden;
  }

  .form-section::before {
    content: '';
    position: absolute;
    top: -200px; right: -200px;
    width: 600px; height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(78,195,196,0.06), transparent 70%);
    pointer-events: none;
  }

  .form-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
  }

  .form-pitch .section-title {
    margin-bottom: 24px;
  }

  .form-perks {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 32px;
  }

  .perk {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: #ccc;
  }

  .perk-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--teal);
    flex-shrink: 0;
  }

  .form-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 40px;
    position: relative;
  }

  .form-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--teal), #35a8a9);
    border-radius: 10px 10px 0 0;
  }

  .form-title {
    font-family: var(--font-head);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 28px;
  }

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

  .field {
    margin-bottom: 16px;
  }

  .field label {
    display: block;
    font-size: 12px;
    font-family: var(--font-head);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--muted);
    margin-bottom: 8px;
  }

  .field input,
  .field select {
    width: 100%;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border-subtle);
    border-radius: 5px;
    padding: 12px 16px;
    font-size: 14px;
    color: var(--white);
    font-family: var(--font-body);
    transition: border-color 0.2s;
    outline: none;
    -webkit-appearance: none;
  }

  .field input:focus,
  .field select:focus {
    border-color: var(--teal);
  }

  .field select option {
    background: var(--card);
    color: var(--white);
  }

  .form-submit {
    width: 100%;
    background: var(--teal);
    color: var(--black);
    border: none;
    border-radius: 5px;
    padding: 16px;
    font-family: var(--font-head);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    margin-top: 8px;
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  }

  .form-submit:hover {
    background: #5dd4d5;
    transform: translateY(-1px);
    box-shadow: 0 6px 24px rgba(78,195,196,0.35);
  }

  .form-note {
    text-align: center;
    font-size: 12px;
    color: var(--muted);
    margin-top: 14px;
  }

  /* ─── FOOTER ─── */
  footer {
    background: var(--black);
    border-top: 1px solid var(--border-subtle);
    padding: 64px 48px 40px;
  }

  .footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
  }

  .footer-brand .nav-logo {
    font-size: 22px;
    margin-bottom: 16px;
    display: block;
  }

  .footer-desc {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.7;
    max-width: 280px;
    margin-bottom: 24px;
  }

  .social-links {
    display: flex;
    gap: 12px;
  }

  .social-link {
    width: 36px; height: 36px;
    border-radius: 5px;
    background: var(--card);
    border: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: var(--muted);
    text-decoration: none;
    transition: border-color 0.2s, color 0.2s;
    cursor: pointer;
  }

  .social-link:hover { border-color: var(--teal); color: var(--teal); }

  .footer-col-title {
    font-family: var(--font-head);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--white);
    margin-bottom: 20px;
  }

  .footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .footer-links a {
    font-size: 14px;
    color: var(--muted);
    text-decoration: none;
    cursor: pointer;
    transition: color 0.2s;
  }

  .footer-links a:hover { color: var(--teal); }

  .footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 24px;
    border-top: 1px solid var(--border-subtle);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: var(--muted);
  }

  /* ─── WHATSAPP FLOAT ─── */
  .wa-float {
    position: fixed;
    bottom: 28px; right: 28px;
    z-index: 200;
    width: 58px; height: 58px;
    border-radius: 50%;
    background: #25D366;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    box-shadow: 0 4px 20px rgba(37,211,102,0.4);
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    text-decoration: none;
    color: white;
  }

  .wa-float:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 28px rgba(37,211,102,0.55);
  }

  /* ─── PAGE HEADER ─── */
  .page-header {
    padding: 140px 48px 80px;
    background: linear-gradient(180deg, #0d1213 0%, var(--black) 100%);
    border-bottom: 1px solid var(--border-subtle);
    position: relative;
    overflow: hidden;
  }

  .page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(78,195,196,0.03) 1px, transparent 1px),
      linear-gradient(90deg, rgba(78,195,196,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
  }

  .page-header-inner {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
  }

  .page-title {
    font-family: var(--font-display);
    font-size: clamp(56px, 7vw, 96px);
    line-height: 0.95;
    margin-bottom: 16px;
  }

  .page-subtitle {
    font-size: 16px;
    color: var(--muted);
    max-width: 540px;
    line-height: 1.7;
  }

  /* ─── FILTERS ─── */
  .filters-bar {
    padding: 32px 48px;
    background: var(--dark);
    border-bottom: 1px solid var(--border-subtle);
    position: sticky;
    top: 72px;
    z-index: 50;
  }

  .filters-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
  }

  .filter-label {
    font-family: var(--font-head);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--muted);
    margin-right: 4px;
  }

  .filter-btn {
    padding: 8px 18px;
    border-radius: 100px;
    border: 1px solid var(--border-subtle);
    background: transparent;
    color: var(--muted);
    font-family: var(--font-head);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    cursor: pointer;
    transition: all 0.2s;
  }

  .filter-btn:hover,
  .filter-btn.active {
    background: var(--teal-mid);
    border-color: var(--teal);
    color: var(--teal);
  }

  /* ─── COMMUNE GROUP ─── */
  .commune-group {
    max-width: 1200px;
    margin: 0 auto 72px;
  }

  .commune-title {
    font-family: var(--font-display);
    font-size: 42px;
    letter-spacing: 0.02em;
    padding-bottom: 16px;
    margin-bottom: 32px;
    border-bottom: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    gap: 16px;
  }

  .commune-count {
    font-family: var(--font-head);
    font-size: 13px;
    font-weight: 600;
    color: var(--teal);
    background: var(--teal-mid);
    border: 1px solid var(--border);
    padding: 4px 12px;
    border-radius: 100px;
  }

  /* ─── TIPS PAGE ─── */
  .tips-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
  }

  .tip-card {
    background: var(--card);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    overflow: hidden;
    transition: border-color 0.25s, transform 0.25s;
    cursor: pointer;
  }

  .tip-card:hover {
    border-color: var(--teal);
    transform: translateY(-4px);
  }

  .tip-img {
    height: 200px;
    background: linear-gradient(135deg, #161819 0%, #1a2025 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 52px;
    position: relative;
  }

  .tip-category {
    position: absolute;
    top: 14px; left: 14px;
    background: var(--teal-mid);
    border: 1px solid var(--border);
    color: var(--teal);
    font-family: var(--font-head);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 4px 10px;
    border-radius: 3px;
  }

  .tip-body {
    padding: 28px;
  }

  .tip-date {
    font-size: 12px;
    color: var(--muted);
    font-family: var(--font-head);
    margin-bottom: 10px;
  }

  .tip-title {
    font-family: var(--font-head);
    font-size: 17px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 12px;
    color: var(--white);
  }

  .tip-excerpt {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.65;
    margin-bottom: 20px;
  }

  .tip-link {
    font-family: var(--font-head);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--teal);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
  }

  .tip-link::after {
    content: '→';
    transition: transform 0.2s;
  }

  .tip-card:hover .tip-link::after {
    transform: translateX(4px);
  }

  /* ─── ANIMATIONS ─── */
  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
  }

  @keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.85); }
  }

  /* ─── MOBILE NAV ─── */
  .hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
  }

  .hamburger span {
    width: 22px; height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all 0.2s;
  }

  @media (max-width: 900px) {
    nav { padding: 0 24px; }
    section { padding: 64px 24px; }
    .hero { padding: 100px 24px 80px; }
    .hero-title { font-size: 64px; }
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .process-steps { grid-template-columns: 1fr; }
    .process-steps::before { display: none; }
    .projects-grid { grid-template-columns: 1fr; }
    .form-grid { grid-template-columns: 1fr; gap: 40px; }
    .hero-stats { position: relative; }
    .stat-item { padding: 20px 24px; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .tips-grid { grid-template-columns: 1fr; }
    .page-header { padding: 100px 24px 60px; }
    .filters-bar { padding: 20px 24px; }
    .nav-links { display: none; }
    .hamburger { display: flex; }
    .form-row { grid-template-columns: 1fr; }
    .flip-cards-grid { grid-template-columns: 1fr 1fr; }
    .reviews-grid { grid-template-columns: 1fr; }
    .reviews-header { flex-direction: column; gap: 24px; align-items: flex-start; }
  }

.about-video-box {
          position: relative;
          width: 100%;
          aspect-ratio: 16 / 10;
          background: var(--card2);
          overflow: hidden;
        }

        .about-video-box video {
          position: relative;
          z-index: 1;
        }

        /* Placeholder — se oculta cuando el video carga */
        .about-video-placeholder {
          position: absolute;
          inset: 0;
          z-index: 0;
          display: flex;
          flex-direction: column;
          align-items: center;
          justify-content: center;
          gap: 8px;
          background: linear-gradient(135deg, #161819, #1c2224);
          border-bottom: 1px solid var(--border-subtle);
        }

        .video-placeholder-icon {
          width: 56px; height: 56px;
          border-radius: 50%;
          background: var(--teal-mid);
          border: 2px solid var(--border);
          display: flex;
          align-items: center;
          justify-content: center;
          font-size: 20px;
          color: var(--teal);
          margin-bottom: 8px;
        }

        .video-placeholder-text {
          font-family: var(--font-head);
          font-size: 14px;
          font-weight: 700;
          color: var(--white);
          letter-spacing: 0.05em;
        }

        .video-placeholder-sub {
          font-size: 11px;
          color: var(--muted);
          font-family: var(--font-body);
        }

        /* Cuando el video carga exitosamente, oculta el placeholder */
        .about-video-box video:not([src=""]) + .about-video-placeholder {
          display: none;
        }

/* ─── FORM VIDEO INNER LAYOUT ─── */
    .form-video-inner {
      position: relative;
      z-index: 1;
      max-width: 1100px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 80px;
      align-items: center;
    }

    /* spinner */
    .spinner {
      display: inline-block;
      width: 14px; height: 14px;
      border: 2px solid rgba(0,0,0,0.3);
      border-top-color: var(--black);
      border-radius: 50%;
      animation: spin 0.7s linear infinite;
      vertical-align: middle;
      margin-right: 4px;
    }

    @keyframes spin {
      to { transform: rotate(360deg); }
    }

    @media (max-width: 900px) {
      .form-video-inner {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 64px 24px;
      }
    }

/* ─── FEATURED TIP ─── */
  .tip-featured {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--card);
    border: 1px solid var(--border-subtle);
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: border-color 0.25s, transform 0.25s;
    margin-bottom: 0;
  }
  .tip-featured:hover {
    border-color: var(--teal);
    transform: translateY(-3px);
  }
  .tip-featured-img {
    min-height: 340px;
    background: linear-gradient(135deg, #161819, #1c2226);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 72px;
    position: relative;
  }
  .tip-featured-placeholder { opacity: 0.2; }
  .tip-featured-badge {
    position: absolute;
    top: 20px; left: 20px;
    background: var(--teal);
    color: var(--black);
    font-family: var(--font-head);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 5px 12px;
    border-radius: 3px;
  }
  .tip-featured-body {
    padding: 48px 44px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .tip-featured-title {
    font-family: var(--font-head);
    font-size: 26px;
    font-weight: 800;
    line-height: 1.3;
    color: var(--white);
    margin-bottom: 16px;
  }
  .tip-featured-excerpt {
    font-size: 15px;
    color: var(--muted);
    line-height: 1.75;
  }

  /* ─── BLOG DETAIL PAGE ─── */
  .blog-hero {
    padding: 130px 48px 64px;
    background: linear-gradient(180deg, #0d1415 0%, var(--black) 100%);
    border-bottom: 1px solid var(--border-subtle);
    position: relative;
    overflow: hidden;
  }
  .blog-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
      linear-gradient(rgba(78,195,196,0.03) 1px, transparent 1px),
      linear-gradient(90deg, rgba(78,195,196,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
  }
  .blog-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
  }
  .blog-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-head);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--muted);
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    margin-bottom: 24px;
    transition: color 0.2s;
  }
  .blog-back:hover { color: var(--teal); }
  .blog-back::before { content: '←'; font-size: 14px; }

  .blog-meta-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
  }
  .blog-category-pill {
    background: var(--teal-mid);
    border: 1px solid var(--border);
    color: var(--teal);
    font-family: var(--font-head);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 4px 12px;
    border-radius: 100px;
  }
  .blog-date {
    font-size: 13px;
    color: var(--muted);
  }
  .blog-hero-title {
    font-family: var(--font-head);
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 800;
    line-height: 1.2;
    color: var(--white);
    margin-bottom: 20px;
  }
  .blog-hero-excerpt {
    font-size: 17px;
    color: #999;
    line-height: 1.75;
  }

  /* Cover image */
  .blog-cover {
    max-width: 800px;
    margin: 0 auto;
    padding: 48px 48px 0;
  }
  .blog-cover-img {
    width: 100%;
    aspect-ratio: 16/7;
    border-radius: 10px;
    background: linear-gradient(135deg, #161819, #1c2226);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 72px;
    opacity: 0.4;
    border: 1px solid var(--border-subtle);
  }

  /* Article body */
  .blog-body {
    max-width: 800px;
    margin: 0 auto;
    padding: 56px 48px;
  }
  .blog-content h2 {
    font-family: var(--font-head);
    font-size: 22px;
    font-weight: 800;
    color: var(--white);
    margin: 40px 0 16px;
  }
  .blog-content h3 {
    font-family: var(--font-head);
    font-size: 17px;
    font-weight: 700;
    color: var(--teal);
    margin: 28px 0 12px;
  }
  .blog-content p {
    font-size: 16px;
    color: #bbb;
    line-height: 1.85;
    margin-bottom: 20px;
  }
  .blog-content ul, .blog-content ol {
    margin: 0 0 20px 20px;
  }
  .blog-content li {
    font-size: 16px;
    color: #bbb;
    line-height: 1.75;
    margin-bottom: 8px;
  }
  .blog-content li::marker { color: var(--teal); }
  .blog-callout {
    background: var(--teal-mid);
    border-left: 3px solid var(--teal);
    border-radius: 0 8px 8px 0;
    padding: 20px 24px;
    margin: 32px 0;
    font-size: 15px;
    color: #ddd;
    line-height: 1.7;
  }
  .blog-formula {
    background: var(--card2);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    padding: 20px 24px;
    margin: 24px 0;
    font-family: 'Courier New', monospace;
    font-size: 15px;
    color: var(--teal);
    text-align: center;
  }

  /* Share bar */
  .blog-share {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 24px 0;
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    margin: 40px 0 48px;
  }
  .blog-share-label {
    font-family: var(--font-head);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--muted);
  }
  .share-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 4px;
    border: 1px solid var(--border-subtle);
    background: var(--card);
    color: var(--muted);
    font-family: var(--font-head);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    cursor: pointer;
    text-decoration: none;
    transition: border-color 0.2s, color 0.2s;
  }
  .share-btn:hover { border-color: var(--teal); color: var(--teal); }

  /* Related articles */
  .blog-related {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 48px 64px;
  }
  .blog-related-title {
    font-family: var(--font-display);
    font-size: 36px;
    margin-bottom: 28px;
    letter-spacing: 0.02em;
  }
  .blog-related-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .blog-related-card {
    background: var(--card);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    padding: 24px;
    cursor: pointer;
    transition: border-color 0.2s, transform 0.2s;
  }
  .blog-related-card:hover {
    border-color: var(--teal);
    transform: translateY(-2px);
  }
  .blog-related-card .tip-category { position:static; margin-bottom:10px; display:inline-block; }
  .blog-related-card-title {
    font-family: var(--font-head);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--white);
    margin-bottom: 12px;
  }
  .blog-related-card-date {
    font-size: 12px;
    color: var(--muted);
  }

  /* Prev/Next nav */
  .blog-prevnext {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 48px 64px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .prevnext-btn {
    background: var(--card);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    padding: 20px 24px;
    cursor: pointer;
    transition: border-color 0.2s;
    text-align: left;
  }
  .prevnext-btn:hover { border-color: var(--teal); }
  .prevnext-btn.next { text-align: right; }
  .prevnext-label {
    font-family: var(--font-head);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--muted);
    margin-bottom: 8px;
  }
  .prevnext-title {
    font-family: var(--font-head);
    font-size: 14px;
    font-weight: 700;
    color: var(--white);
    line-height: 1.4;
  }

  @media (max-width: 900px) {
    .tip-featured { grid-template-columns: 1fr; }
    .tip-featured-img { min-height: 220px; }
    .tip-featured-body { padding: 28px 24px; }
    .blog-hero { padding: 110px 24px 48px; }
    .blog-cover { padding: 32px 24px 0; }
    .blog-body { padding: 40px 24px; }
    .blog-related { padding: 0 24px 48px; }
    .blog-related-grid { grid-template-columns: 1fr; }
    .blog-prevnext { padding: 0 24px 48px; grid-template-columns: 1fr; }
  }

/* ─── PROJECT DETAIL PAGE ─── */
  .proj-hero {
    padding: 130px 48px 80px;
    background: linear-gradient(180deg, #0d1415 0%, var(--black) 100%);
    border-bottom: 1px solid var(--border-subtle);
    position: relative;
    overflow: hidden;
  }

  .proj-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
      linear-gradient(rgba(78,195,196,0.035) 1px, transparent 1px),
      linear-gradient(90deg, rgba(78,195,196,0.035) 1px, transparent 1px);
    background-size: 60px 60px;
  }

  .proj-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 48px;
    align-items: flex-end;
  }

  .proj-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-head);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--muted);
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    margin-bottom: 24px;
    transition: color 0.2s;
  }

  .proj-back:hover { color: var(--teal); }
  .proj-back::before { content: '←'; font-size: 14px; }

  .proj-commune-tag {
    font-family: var(--font-head);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 12px;
  }

  .proj-name {
    font-family: var(--font-display);
    font-size: clamp(56px, 7vw, 96px);
    line-height: 0.95;
    margin-bottom: 24px;
    letter-spacing: 0.02em;
  }

  .proj-hero-tags {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
  }

  .proj-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--card);
    border: 1px solid var(--border-subtle);
    border-radius: 4px;
    padding: 8px 16px;
    font-family: var(--font-head);
    font-size: 13px;
    font-weight: 600;
    color: var(--white);
  }

  .proj-tag.highlight {
    background: var(--teal-mid);
    border-color: var(--border);
    color: var(--teal);
  }

  .proj-price-box {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 32px 36px;
    text-align: center;
    min-width: 240px;
    position: relative;
    overflow: hidden;
  }

  .proj-price-box::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--teal), #35a8a9);
  }

  .proj-price-label {
    font-family: var(--font-head);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--muted);
    margin-bottom: 8px;
  }

  .proj-price-value {
    font-family: var(--font-display);
    font-size: 52px;
    color: var(--white);
    line-height: 1;
    letter-spacing: 0.02em;
  }

  .proj-price-uf {
    font-size: 16px;
    color: var(--muted);
    font-family: var(--font-body);
    font-weight: 300;
    margin-bottom: 20px;
  }

  /* Gallery */
  .proj-gallery {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 240px 240px;
    gap: 8px;
    border-radius: 10px;
    overflow: hidden;
  }

  .proj-gallery-item {
    background: var(--card2);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
  }

  .proj-gallery-item:first-child {
    grid-row: 1 / 3;
  }

  .gallery-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--muted);
  }

  .gallery-placeholder-icon { font-size: 32px; opacity: 0.3; }
  .gallery-placeholder-text {
    font-size: 11px;
    font-family: var(--font-head);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.4;
  }

  .proj-gallery-item img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
  }

  /* Content grid */
  .proj-content-grid {
    max-width: 1200px;
    margin: 64px auto 0;
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 56px;
    align-items: start;
  }

  .proj-section-title {
    font-family: var(--font-head);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--teal);
    margin-bottom: 24px;
  }

  .proj-features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 48px;
  }

  .proj-feature-block {
    background: var(--card);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    padding: 28px;
  }

  .proj-feature-block-title {
    font-family: var(--font-head);
    font-size: 14px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .proj-feature-block-title span {
    width: 28px; height: 28px;
    border-radius: 6px;
    background: var(--teal-mid);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
  }

  .proj-feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .proj-feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: #bbb;
    line-height: 1.5;
  }

  .proj-feature-list li::before {
    content: '✓';
    color: var(--teal);
    font-size: 12px;
    margin-top: 2px;
    flex-shrink: 0;
  }

  .proj-description {
    font-size: 15px;
    color: #bbb;
    line-height: 1.8;
    padding-top: 32px;
    border-top: 1px solid var(--border-subtle);
  }

  /* Sticky sidebar form */
  .proj-sidebar {
    position: sticky;
    top: 92px;
  }

  .proj-sidebar .form-card {
    border-radius: 10px;
  }

  /* Amenities strip */
  .proj-amenities {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 32px;
  }

  .amenity-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--card);
    border: 1px solid var(--border-subtle);
    border-radius: 100px;
    padding: 7px 14px;
    font-size: 12px;
    color: var(--muted);
    font-family: var(--font-head);
    font-weight: 600;
    transition: border-color 0.2s, color 0.2s;
  }

  .amenity-chip:hover {
    border-color: var(--teal);
    color: var(--teal);
  }

  @media (max-width: 900px) {
    .proj-hero-inner { grid-template-columns: 1fr; }
    .proj-price-box { min-width: auto; }
    .proj-gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 180px 180px 180px; }
    .proj-gallery-item:first-child { grid-row: 1 / 2; grid-column: 1 / 3; }
    .proj-content-grid { grid-template-columns: 1fr; }
    .proj-features-grid { grid-template-columns: 1fr; }
    .proj-sidebar { position: static; }
    .proj-hero { padding: 110px 24px 60px; }
  }


/* ─── LOGO IMAGE ─── */
.nav-logo-img-link img {
  height: 40px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  display: block;
  transition: opacity 0.2s;
}
.nav-logo-img-link:hover img { opacity: 0.85; }

.footer-brand .nav-logo-img-link img {
  height: 48px;
  max-width: 260px;
}

/* Ensure nav stays aligned with image logo */
#mainNav { align-items: center; }


/* ─── ABOUT VIDEO CONTENT / CTA ─── */
.about-desc {
  white-space: normal;
}

.about-video-content {
  padding: 24px 32px 32px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  text-align: center;
}

.about-video-stats {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 56px;
  flex-wrap: wrap;
}

.about-video-stat {
  min-width: 150px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.about-video-stat-num {
  font-family: var(--font-display);
  font-size: 36px;
  color: var(--teal);
  line-height: 1;
}

.about-video-stat-label {
  font-size: 14px;
  color: var(--muted);
  margin-top: 8px;
  line-height: 1.4;
}

.about-video-cta-wrap {
  display: flex;
  justify-content: center;
  width: 100%;
}

@media (max-width: 768px) {
  .about-card-main {
    padding: 24px;
  }

  .about-video-content {
    padding: 22px 18px 24px;
  }

  .about-video-stats {
    gap: 28px;
  }

  .about-video-stat {
    min-width: 120px;
  }

  .about-video-stat-num {
    font-size: 30px;
  }

  .about-video-stat-label {
    font-size: 13px;
  }
}


/* ─── THANK YOU PAGE ─── */
.thankyou-page {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #0d1415 0%, var(--black) 100%);
  padding: 140px 48px 96px;
}
.thankyou-page::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(78,195,196,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(78,195,196,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}
.thankyou-inner {
  position: relative;
  z-index: 1;
  max-width: 980px;
  margin: 0 auto;
}
.thankyou-card {
  background: var(--card);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 56px 48px;
  text-align: center;
}
.thankyou-icon {
  width: 88px;
  height: 88px;
  border-radius: 999px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--teal-mid);
  border: 1px solid var(--border);
  color: var(--teal);
  font-size: 42px;
}
.thankyou-title {
  font-family: var(--font-head);
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.05;
  color: var(--white);
  margin: 0 0 18px;
}
.thankyou-desc {
  max-width: 720px;
  margin: 0 auto 28px;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.8;
  color: var(--muted);
}
.thankyou-note {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  background: var(--teal-mid);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 32px;
}
.thankyou-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.thankyou-links {
  border-top: 1px solid var(--border-subtle);
  padding-top: 28px;
}
.thankyou-links-title {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}
.thankyou-links-grid {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.thankyou-link {
  padding: 10px 16px;
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  color: var(--muted);
  text-decoration: none;
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: border-color 0.2s, color 0.2s;
}
.thankyou-link:hover {
  border-color: var(--teal);
  color: var(--teal);
}

/* ─── TYPOGRAPHY ALIGNMENT: TIPS + SINGLE POST ─── */
.page-title,
.tip-featured-title,
.tip-title,
.tip-link,
.blog-hero-title,
.blog-related-title,
.blog-related-card-title,
.prevnext-title {
  font-family: var(--font-head);
  letter-spacing: normal;
}

.page-subtitle,
.tip-featured-excerpt,
.tip-date,
.tip-excerpt,
.blog-date,
.blog-hero-excerpt,
.blog-content,
.blog-content p,
.blog-content li,
.blog-callout,
.blog-related-card-date {
  font-family: var(--font-body);
}

.blog-content h2,
.blog-content h3,
.blog-share-label,
.share-btn,
.prevnext-label {
  font-family: var(--font-head);
}

@media (max-width: 900px) {
  .thankyou-page {
    padding: 120px 24px 72px;
  }
  .thankyou-card {
    padding: 40px 24px;
  }
  .thankyou-desc {
    font-size: 16px;
  }
}


/* ─── PROJECT TYPOLOGIES / DYNAMIC SINGLE ─── */
.proj-price-context {
  margin-bottom: 18px;
  font-size: 13px;
  color: var(--teal);
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.proj-typology-section {
  padding: 28px 48px 0;
}

.proj-typology-inner,
.proj-typology-showcase-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.proj-typology-nav {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.proj-typology-chip {
  appearance: none;
  border: 1px solid var(--border-subtle);
  background: var(--card);
  border-radius: 8px;
  padding: 14px 18px;
  min-width: 220px;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s, transform 0.2s, background 0.2s;
}

.proj-typology-chip:hover,
.proj-typology-chip.is-active {
  border-color: var(--teal);
  background: rgba(78,195,196,0.08);
  transform: translateY(-2px);
}

.proj-typology-chip-title {
  display: block;
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
}

.proj-typology-chip-meta {
  display: block;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}

.proj-typology-showcase {
  padding: 36px 48px 0;
}

.proj-typology-showcase-inner {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(320px, 1fr);
  gap: 32px;
  align-items: start;
}

.proj-gallery--dynamic {
  margin-bottom: 18px;
}

.proj-plan-card,
.proj-typology-summary-card,
.proj-benefit-card,
.proj-calc-placeholder,
.proj-extra-option,
.proj-extra-total {
  background: var(--card);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
}

.proj-plan-card {
  padding: 20px;
}

.proj-plan-card-header {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 16px;
}

.proj-plan-card img {
  width: 100%;
  display: block;
  border-radius: 8px;
  border: 1px solid var(--border-subtle);
  background: #0f1214;
}

.proj-plan-empty {
  min-height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  text-align: center;
  line-height: 1.6;
  background: var(--card2);
  border-radius: 8px;
  padding: 20px;
}

.proj-typology-summary-card {
  padding: 28px;
}

.proj-typology-summary-top {
  display: flex;
  gap: 18px;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 22px;
}

.proj-typology-summary-name {
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 800;
  color: var(--white);
  line-height: 1.05;
  margin-bottom: 8px;
}

.proj-typology-summary-layout {
  font-size: 14px;
  color: var(--muted);
}

.proj-typology-status {
  white-space: nowrap;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(78,195,196,0.1);
  border: 1px solid rgba(78,195,196,0.18);
  color: var(--teal);
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.proj-typology-status.is-off {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.08);
  color: #d4d4d8;
}

.proj-typology-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 22px;
}

.proj-typology-metric {
  background: var(--card2);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 14px;
}

.proj-typology-metric span,
.proj-price-stack-label {
  display: block;
  font-size: 11px;
  color: var(--muted);
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.proj-typology-metric strong {
  font-size: 16px;
  color: var(--white);
  font-weight: 700;
}

.proj-price-stack {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 20px;
}

.proj-price-stack > div {
  background: var(--card2);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 16px;
}

.proj-price-stack-old,
.proj-price-stack-new {
  font-family: var(--font-display);
  font-size: 34px;
  line-height: 1;
}

.proj-price-stack-old {
  color: #f8fafc;
  opacity: 0.55;
  text-decoration: line-through;
}

.proj-price-stack-old.is-muted {
  opacity: 1;
  text-decoration: none;
}

.proj-price-stack-new {
  color: var(--teal);
}

.proj-typology-copy {
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
  padding-top: 18px;
  border-top: 1px solid var(--border-subtle);
}

.proj-dynamic-block {
  margin-bottom: 36px;
}

.proj-extras-grid,
.proj-benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.proj-extra-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px;
  font-size: 14px;
  color: var(--white);
}

.proj-extra-option input {
  margin-right: 10px;
}

.proj-extra-option span {
  flex: 1;
}

.proj-extra-option strong {
  color: var(--teal);
  font-family: var(--font-head);
  font-weight: 700;
}

.proj-extra-option.is-disabled {
  opacity: 0.7;
}

.proj-extra-total {
  margin-top: 14px;
  padding: 16px 18px;
  color: var(--muted);
  font-size: 14px;
}

.proj-extra-total strong {
  color: var(--white);
}

.proj-benefit-card {
  padding: 20px;
}

.proj-benefit-title {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
}

.proj-benefit-text {
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}

.proj-calc-placeholder {
  padding: 24px;
  margin-bottom: 40px;
}

.proj-calc-placeholder-title {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 10px;
}

.proj-calc-placeholder p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}

.proj-gallery--general {
  margin-top: 8px;
}

@media (max-width: 900px) {
  .proj-typology-section,
  .proj-typology-showcase,
  .proj-gallery--general {
    padding-left: 24px;
    padding-right: 24px;
  }

  .proj-typology-showcase-inner,
  .proj-typology-metrics,
  .proj-price-stack,
  .proj-extras-grid,
  .proj-benefits-grid {
    grid-template-columns: 1fr;
  }

  .proj-typology-chip {
    min-width: 100%;
  }
}

/* ─── PHASE 3: TYPOLOGY COMMERCIAL POLISH ─── */
.proj-price-old {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  text-decoration: line-through;
  margin-bottom: 10px;
}

.proj-price-delta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(78,195,196,0.12);
  border: 1px solid rgba(78,195,196,0.22);
  color: var(--teal);
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.proj-price-mini-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.proj-price-mini-chip {
  display: inline-flex;
  align-items: center;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--white);
  font-family: var(--font-head);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.proj-typology-nav {
  overflow-x: auto;
  flex-wrap: nowrap;
  padding-bottom: 4px;
  scrollbar-width: thin;
  scroll-snap-type: x proximity;
}

.proj-typology-chip {
  flex: 0 0 240px;
  scroll-snap-align: start;
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

.proj-typology-chip.is-active {
  box-shadow: 0 14px 34px rgba(0,0,0,0.22);
}

.proj-price-stack-savings {
  margin-top: 10px;
  font-size: 12px;
  color: var(--teal);
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.proj-opportunity-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.proj-opportunity-item {
  background: linear-gradient(180deg, rgba(78,195,196,0.08), rgba(78,195,196,0.02));
  border: 1px solid rgba(78,195,196,0.14);
  border-radius: 8px;
  padding: 14px;
}

.proj-opportunity-item.is-neutral {
  background: var(--card2);
  border-color: var(--border-subtle);
}

.proj-opportunity-item span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-family: var(--font-head);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.proj-opportunity-item strong {
  color: var(--white);
  font-size: 14px;
  line-height: 1.45;
}

.proj-extra-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

#projExtraSelectionSummary {
  color: var(--teal);
  font-size: 12px;
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: 0.06em;
}

.proj-calc-placeholder {
  background: linear-gradient(180deg, rgba(78,195,196,0.06), rgba(78,195,196,0.02));
}

@media (max-width: 900px) {
  .proj-price-mini-benefits {
    margin-bottom: 16px;
  }

  .proj-typology-nav {
    gap: 10px;
  }

  .proj-typology-chip {
    flex-basis: 88%;
    min-width: 88%;
  }

  .proj-opportunity-strip {
    grid-template-columns: 1fr;
  }
}


/* ─── PHASE 4: TYPOLOGY UX POLISH ─── */
.proj-section-heading-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.proj-media-switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  background: var(--card);
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
}

.proj-media-switch-btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 10px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.proj-media-switch-btn:hover,
.proj-media-switch-btn.is-active {
  background: var(--teal-mid);
  color: var(--teal);
}

.proj-media-switch-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.proj-media-mode-label {
  margin-bottom: 14px;
  font-size: 12px;
  color: var(--muted);
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.proj-sidebar-live-card {
  background: linear-gradient(135deg, rgba(78,195,196,0.14), rgba(78,195,196,0.05));
  border: 1px solid rgba(78,195,196,0.18);
  border-radius: 10px;
  padding: 18px 18px 16px;
  margin-bottom: 16px;
}

.proj-sidebar-live-label {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--teal);
  margin-bottom: 8px;
}

.proj-sidebar-live-title {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 8px;
}

.proj-sidebar-live-meta {
  font-size: 14px;
  color: var(--white);
  margin-bottom: 8px;
}

.proj-sidebar-live-note {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

@media (max-width: 900px) {
  .proj-section-heading-row {
    align-items: flex-start;
  }

  .proj-media-switch {
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
  }

  .proj-media-switch-btn {
    white-space: nowrap;
  }
}
