:root {
    --sand: #F4F5F7;
    --sand-dark: #E2E4E8;
    --ocean: #1B8C5A;
    --ocean-light: #22A96B;
    --ocean-pale: #E6F5ED;
    --charcoal: #1A1D21;
    --warm-gray: #6B7280;
    --white: #FFFFFF;
    --gold: #1B8C5A;
    --gold-light: #22A96B;
    --coral: #E05545;
    --shadow: 0 4px 40px rgba(26,26,26,0.07);
    --shadow-hover: 0 12px 50px rgba(26,26,26,0.12);
    --radius: 16px;
    --radius-sm: 10px;
  }

  * { margin: 0; padding: 0; box-sizing: border-box; }

  html { scroll-behavior: smooth; }

  body {
    font-family: 'Inter', sans-serif;
    background: var(--sand);
    color: var(--charcoal);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
  }

  /* === 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(244,245,247,0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(26,26,26,0.06);
    transition: all 0.4s ease;
  }

  nav.scrolled {
    background: rgba(255,255,255,0.92);
    box-shadow: 0 2px 30px rgba(0,0,0,0.06);
  }

  .nav-logo {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--ocean);
    letter-spacing: -0.5px;
    text-decoration: none;
  }

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

  .nav-logo img {
    height: 36px;
    display: block;
  }

  .nav-links {
    display: flex; gap: 32px; list-style: none;
  }

  .nav-links a {
    text-decoration: none;
    color: var(--warm-gray);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.3px;
    transition: color 0.3s;
    position: relative;
  }

  .nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px; left: 0;
    width: 0; height: 1.5px;
    background: var(--ocean);
    transition: width 0.3s ease;
  }

  .nav-links a:hover { color: var(--ocean); }
  .nav-links a:hover::after { width: 100%; }

  .nav-cta {
    background: var(--ocean);
    color: var(--white) !important;
    padding: 10px 24px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
  }

  .nav-cta:hover {
    background: var(--ocean-light) !important;
    transform: translateY(-1px);
  }
  .nav-cta::after { display: none !important; }

  /* === HERO === */
  .hero {
    padding: 120px 48px 80px;
    min-height: 55vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
  }

  .hero::before {
    content: '';
    position: absolute;
    top: -200px; right: -200px;
    width: 700px; height: 700px;
    background: radial-gradient(circle, rgba(27,140,90,0.05) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 20s ease-in-out infinite;
  }

  .hero::after {
    content: '';
    position: absolute;
    bottom: -100px; left: -100px;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(27,140,90,0.06) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 15s ease-in-out infinite reverse;
  }

  @keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(30px, -30px); }
  }

  .hero-content {
    max-width: 680px;
    position: relative; z-index: 2;
    animation: fadeUp 1s ease-out;
  }

  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--ocean-pale);
    color: var(--ocean);
    padding: 8px 18px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 28px;
  }

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

  @keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
  }

  .hero h1 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 56px;
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -1.5px;
    color: var(--charcoal);
    margin-bottom: 20px;
  }

  .hero h1 em {
    font-style: italic;
    color: var(--ocean);
  }

  .hero p {
    font-size: 17px;
    line-height: 1.7;
    color: var(--warm-gray);
    max-width: 500px;
    margin-bottom: 36px;
  }

  .hero-actions {
    display: flex; gap: 14px; align-items: center;
  }

  .btn-primary {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--ocean);
    color: var(--white);
    padding: 15px 32px;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.3px;
    transition: all 0.35s ease;
    border: none; cursor: pointer;
  }

  .btn-primary:hover {
    background: var(--ocean-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(27,140,90,0.25);
  }

  .btn-secondary {
    display: inline-flex; align-items: center; gap: 8px;
    background: transparent;
    color: var(--charcoal);
    padding: 15px 28px;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    border: 1.5px solid rgba(26,26,26,0.15);
    transition: all 0.3s ease;
    cursor: pointer;
  }

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

  /* === SECTION HEADERS === */
  .section-header {
    text-align: center;
    margin-bottom: 56px;
  }

  .section-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 14px;
  }

  .section-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 42px;
    font-weight: 700;
    letter-spacing: -1px;
    color: var(--charcoal);
  }

  /* === PROPERTIES === */
  .properties-section {
    padding: 0 48px 100px;
  }

  .properties-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 28px;
  }

  .property-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.45s cubic-bezier(0.23, 1, 0.32, 1);
    cursor: pointer;
    position: relative;
  }

  .property-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
  }

  .property-img {
    position: relative;
    height: 220px;
    overflow: hidden;
  }

  .property-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
  }

  .property-card:hover .property-img img {
    transform: scale(1.06);
  }

  .property-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.25) 0%, transparent 40%, transparent 50%, rgba(0,0,0,0.35) 100%);
  }

  .img-overlay-info {
    position: absolute;
    top: 14px; left: 14px; right: 14px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    z-index: 2;
  }

  .img-overlay-info .sold-ring {
    margin-left: auto;
  }

  .img-overlay-info .ring-bg {
    stroke: rgba(255,255,255,0.3);
  }

  .img-overlay-info .sold-ring .pct {
    color: var(--white);
    text-shadow: 0 1px 4px rgba(0,0,0,0.4);
  }

  .img-overlay-info .sold-ring .sold-label {
    color: #111;
    text-shadow: none;
  }

  .img-overlay-info .badge-hot {
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  }

  .img-overlay-info .ring-fill {
    stroke: var(--white);
  }

  .property-badges {
    display: flex; gap: 8px; flex-wrap: wrap;
  }

  .badge {
    padding: 5px 12px;
    border-radius: 100px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
  }

  .badge-hot {
    background: var(--coral);
    color: var(--white);
  }

  .badge-red {
    background: #E53E3E;
    color: var(--white);
  }

  .badge-caramel {
    background: #ac6908;
    color: #ffffff;
  }

  .badge-new {
    background: var(--ocean);
    color: var(--white);
  }

  .badge-ready {
    background: var(--sand);
    color: var(--charcoal);
  }

  .badge-beach {
    background: var(--ocean-pale);
    color: var(--ocean);
  }

  .sold-ring {
    position: relative;
    width: 72px; height: 72px;
    flex-shrink: 0;
    background: rgba(255,255,255,0.18);
    border-radius: 50%;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
  }

  .sold-ring svg {
    width: 72px; height: 72px;
    transform: rotate(-90deg);
  }

  .sold-ring .ring-bg {
    fill: none;
    stroke: var(--sand-dark);
    stroke-width: 4;
  }

  .sold-ring .ring-fill {
    fill: none;
    stroke: var(--ocean);
    stroke-width: 4;
    stroke-linecap: round;
    stroke-dasharray: 163.36;
    stroke-dashoffset: 163.36;
    transition: stroke-dashoffset 1.2s ease-out;
  }

  .sold-ring-inner {
    position: absolute;
    inset: 0;
    display: flex; align-items: center; justify-content: center; flex-direction: column;
  }

  .sold-ring .pct {
    font-size: 16px;
    font-weight: 700;
    color: var(--ocean);
    line-height: 1;
  }

  .sold-ring .sold-label {
    font-size: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #111;
    font-weight: 700;
  }

  .property-top-row {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
  }

  .property-body {
    padding: 22px 24px 24px;
  }

  .property-name {
    font-family: inherit;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--charcoal);
  }

  .property-location {
    font-size: 13px;
    color: var(--warm-gray);
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 5px;
  }

  .property-location svg {
    width: 13px; height: 13px;
    fill: var(--gold);
    flex-shrink: 0;
  }

  .property-meta {
    display: flex;
    gap: 20px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--sand-dark);
    margin-bottom: 16px;
  }

  .meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--charcoal);
  }

  .meta-item svg {
    width: 14px; height: 14px;
    stroke: var(--ocean);
    fill: none;
    stroke-width: 2;
  }

  .meta-item strong {
    color: var(--charcoal);
    font-weight: 600;
  }

  .meta-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-left: 6px;
  }

  .meta-tag svg {
    width: 20px; height: 20px;
  }

  .property-desc {
    font-size: 13px;
    line-height: 1.6;
    color: var(--warm-gray);
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .property-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .property-price .from {
    font-size: 11px;
    color: var(--warm-gray);
    display: block;
    margin-bottom: 2px;
  }

  .property-price .value {
    font-size: 20px;
    font-weight: 700;
    color: var(--ocean);
  }

  .btn-details {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    background: #e0e5f1;
    border-radius: 100px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    color: var(--ocean);
    transition: all 0.3s ease;
  }

  .btn-details:hover {
    background: var(--ocean);
    color: var(--white);
  }

  .btn-details svg {
    width: 14px; height: 14px;
    transition: transform 0.3s;
  }

  .btn-details:hover svg { transform: translateX(3px); }

  /* === FEATURED (first 2 cards bigger) === */
  .featured-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    margin-bottom: 28px;
  }

  .featured-grid .property-img { height: 260px; }

  /* === TESTIMONIALS === */
  .testimonials-section {
    padding: 80px 48px 100px;
    background: var(--white);
    position: relative;
  }

  .testimonials-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--sand-dark), transparent);
  }

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

  .testimonials-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 32px;
    width: 100%;
    text-align: center;
  }

  .tpag-btn {
    width: 40px; height: 40px;
    border-radius: 50%;
    border: 2px solid var(--sand-dark);
    background: var(--white);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    color: var(--ocean);
    transition: background .2s, border-color .2s;
  }

  .tpag-btn:hover {
    background: var(--ocean);
    border-color: var(--ocean);
    color: var(--white);
  }

  .tpag-dots {
    display: flex;
    gap: 8px;
    align-items: center;
  }

  .tpag-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--sand-dark);
    transition: background .2s, transform .2s;
    cursor: pointer;
  }

  .tpag-dot.active {
    background: var(--ocean);
    transform: scale(1.3);
  }

  .testimonial-card {
    padding: 32px;
    border-radius: var(--radius);
    background: var(--sand);
    position: relative;
    transition: all 0.35s ease;
    display: flex;
    flex-direction: column;
    min-height: 320px;
  }

  .testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.06);
  }

.testimonial-stars {
    display: flex; gap: 4px;
    margin-bottom: 16px;
  }

  .testimonial-stars svg {
    width: 20px; height: 20px;
  }

  .testimonial-text {
    font-size: 14px;
    line-height: 1.7;
    color: var(--warm-gray);
    margin-bottom: 20px;
    position: relative;
    flex: 1;
  }

  .testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 18px;
    border-top: 1px solid var(--sand-dark);
    margin-top: auto;
  }

  .author-avatar {
    width: 42px; height: 42px;
    border-radius: 50%;
    background: var(--ocean);
    display: flex; align-items: center; justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 15px;
  }

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

  .author-loc {
    font-size: 12px;
    color: var(--warm-gray);
  }

  /* === CONTACT === */
  .contact-section {
    padding: 80px 48px 60px;
    position: relative;
  }

  .contact-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    border-radius: var(--radius);
    padding: 56px;
    box-shadow: var(--shadow);
    text-align: center;
    position: relative;
    overflow: hidden;
  }

  .contact-wrapper::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--ocean), var(--ocean-light));
  }

  .contact-wrapper h2 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
  }

  .contact-wrapper > p {
    color: var(--warm-gray);
    font-size: 15px;
    margin-bottom: 32px;
  }

  .contact-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
  }

  .btn-icon {
    display: inline-flex; align-items: center; justify-content: center;
    text-decoration: none;
    color: #16a34a;
    transition: all 0.3s ease;
  }

  .btn-icon:hover {
    transform: translateY(-3px);
    color: #15803d;
  }

  .btn-whatsapp svg { fill: currentColor; }

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

  .form-row { display: flex; gap: 14px; }

  .contact-form input,
  .contact-form textarea {
    flex: 1;
    padding: 14px 20px;
    border: 1.5px solid var(--sand-dark);
    border-radius: var(--radius-sm);
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: var(--charcoal);
    background: var(--sand);
    outline: none;
    transition: border-color 0.3s;
    resize: none;
  }

  .contact-form input:focus,
  .contact-form textarea:focus {
    border-color: var(--ocean);
    background: var(--white);
  }

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

  .btn-submit {
    padding: 15px 40px;
    background: var(--charcoal);
    color: var(--white);
    border: none;
    border-radius: 100px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    align-self: center;
  }

  .btn-submit:hover {
    background: var(--ocean);
    transform: translateY(-1px);
  }

  /* === FOOTER === */
  footer {
    padding: 32px 48px;
    border-top: 1px solid var(--sand-dark);
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .footer-left {
    font-size: 13px;
    color: var(--warm-gray);
  }

  .footer-left strong {
    color: var(--charcoal);
  }

  .footer-links {
    display: flex; gap: 24px;
  }

  .footer-links a {
    font-size: 12px;
    color: var(--warm-gray);
    text-decoration: none;
    transition: color 0.3s;
  }

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

  /* === ANIMATIONS ON SCROLL === */
  .reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }

  .reveal.visible {
    opacity: 1;
    transform: translateY(0);
  }

  /* === RESPONSIVE === */
  @media (max-width: 1024px) {
    .properties-grid { grid-template-columns: repeat(2, 1fr); }
    .hero h1 { font-size: 44px; }
  }

  @media (max-width: 768px) {
    nav { padding: 0 24px; }
    .nav-links { display: none; }
    .hero { padding: 100px 24px 40px; min-height: auto; }
    .hero h1 { font-size: 36px; }
    .stats-bar { padding: 0 24px; flex-wrap: wrap; }
    .stat-item { flex: 1 1 50%; border-radius: 0 !important; }
    .properties-section { padding: 0 24px 60px; }
    .featured-grid,
    .properties-grid { grid-template-columns: 1fr; }
    .testimonials-section { padding: 60px 24px; }
    .testimonials-grid { grid-template-columns: 1fr; justify-items: center; }
    .testimonial-card { width: 100%; max-width: 480px; }
    .contact-section { padding: 30px 24px; }
    .contact-buttons { flex-direction: row; align-items: center; }
    .btn-submit { width: 100%; }
    .form-row { flex-direction: column; }
    .hero-actions { flex-direction: column; align-items: flex-start; }
    .btn-primary, .btn-secondary { width: 100%; justify-content: center; }
    footer { padding: 24px; flex-direction: column; gap: 16px; text-align: center; }
    .section-title { font-size: 32px; }
    .scroll-hint { display: flex; }
  }

  .scroll-hint {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 12px;
    color: var(--warm-gray);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.5px;
    animation: bounce-down 1.6s ease-in-out infinite;
  }

  @keyframes bounce-down {
    0%, 100% { transform: translateY(0); opacity: 0.6; }
    50% { transform: translateY(5px); opacity: 1; }
  }

  /* === COOKIE BANNER === */
  .cookie-banner {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
  }

  .cookie-banner--visible {
    transform: translateY(0);
    pointer-events: auto;
  }

  .cookie-banner--hidden {
    transform: translateY(100%);
    pointer-events: none;
  }

  .cookie-banner-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    background: var(--charcoal);
    color: var(--white);
    padding: 14px 32px;
    border-top: 2px solid var(--gold);
  }

  .cookie-text {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: rgba(255,255,255,0.82);
    line-height: 1.5;
  }

  .cookie-text a {
    color: var(--gold-light);
    text-decoration: underline;
    text-underline-offset: 2px;
  }

  .cookie-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
  }

  .cookie-btn {
    padding: 8px 20px;
    border-radius: 100px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
    white-space: nowrap;
  }

  .cookie-btn-accept {
    background: var(--gold);
    color: var(--white);
  }

  .cookie-btn-accept:hover { background: var(--gold-light); }

  .cookie-btn-reject {
    background: transparent;
    color: rgba(255,255,255,0.6);
    border: 1px solid rgba(255,255,255,0.2);
  }

  .cookie-btn-reject:hover {
    background: rgba(255,255,255,0.08);
    color: var(--white);
  }

  @media (max-width: 768px) {
    .cookie-banner-inner {
      flex-direction: column;
      align-items: flex-start;
      padding: 16px 20px;
      gap: 14px;
    }
    .cookie-actions { width: 100%; }
    .cookie-btn { flex: 1; text-align: center; }
  }