/* Open Plots Ventures - Premium Real Estate Design
   Clean color palette: blue accents, white background, professional */

:root {
  --primary: #2563eb; /* vibrant blue */
  --primary-dark: #1e40af;
  --secondary: #1e3a8a; /* deep blue */
  --accent: #3b82f6; /* bright blue */
  --bg: #ffffff;
  --surface: #f8fafc;
  --text: #1f2937;
  --text-muted: #6b7280;
  --white: #ffffff;
  --border: rgba(37,99,235,.15);
  --overlay: rgba(30,58,138,.75);
  --radius: 12px;
  --shadow: 0 10px 40px rgba(0,0,0,.08);
  --transition: .3s cubic-bezier(.4,0,.2,1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: Inter, -apple-system, sans-serif; color: var(--text); background: var(--bg); line-height: 1.7; overflow-x: hidden; }
img { max-width: 100%; display: block; }
svg { display: block; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 5rem 0; }

/* Header */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(248,250,252,.95)); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); transition: var(--transition); box-shadow: 0 2px 8px rgba(0,0,0,.04); }
.header.scrolled { background: rgba(255,255,255,.98); box-shadow: 0 4px 24px rgba(0,0,0,.08); }
.header__container { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.5rem; }
.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; color: var(--text); }
.brand__icon { width: 40px; height: 40px; color: var(--primary); }
.brand__text { display: flex; flex-direction: column; }
.brand__name { font-weight: 700; font-size: 1.1rem; letter-spacing: .3px; }
.brand__tag { font-size: .75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; }
.nav { display: flex; gap: .25rem; align-items: center; }
.nav__link { padding: .6rem 1rem; color: var(--text); text-decoration: none; border-radius: 8px; font-weight: 500; font-size: .95rem; transition: var(--transition); }
.nav__link:hover, .nav__link.active { color: var(--primary); background: rgba(37,99,235,.08); }
.nav__link--cta { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: var(--white); }
.nav__link--cta:hover { background: linear-gradient(135deg, var(--accent), var(--primary)); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(37,99,235,.35); }
.nav-toggle { display: none; background: transparent; border: 0; cursor: pointer; flex-direction: column; gap: 5px; padding: .5rem; }
.nav-toggle span { width: 24px; height: 2px; background: var(--text); transition: var(--transition); }
.progress { position: absolute; bottom: 0; left: 0; width: 100%; height: 3px; background: rgba(37,99,235,.1); }
.progress__bar { height: 100%; background: linear-gradient(90deg, var(--primary), var(--accent)); width: 0; transition: width .1s linear; }

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav { position: absolute; top: 100%; right: 1.5rem; flex-direction: column; background: rgba(255,255,255,.98); border: 1px solid var(--border); border-radius: 12px; padding: .75rem; min-width: 200px; transform-origin: top right; transform: scale(.95) translateY(-8px); opacity: 0; pointer-events: none; transition: var(--transition); box-shadow: 0 8px 24px rgba(0,0,0,.12); }
  .nav.open { opacity: 1; transform: scale(1) translateY(0); pointer-events: auto; }
}

/* Hero */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center; overflow: hidden; background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%); }
.hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center; filter: brightness(.85); opacity: 0.4; }
.hero__overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(37,99,235,.15), rgba(30,64,175,.1)); }
.hero__content { position: relative; z-index: 2; text-align: center; padding: 8rem 0 4rem; animation: fadeIn .8s ease; }
.hero__badge { display: inline-block; padding: .5rem 1rem; background: rgba(37,99,235,.1); border: 1px solid var(--primary); color: var(--primary); border-radius: 999px; font-size: .85rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 1.5rem; }
.hero__title { font-family: "Playfair Display", Georgia, serif; font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 900; line-height: 1.1; margin: 0 0 1rem; color: var(--text); }
.hero__title em { font-style: italic; color: var(--primary); }
.hero__subtitle { font-size: clamp(1rem, 2vw, 1.25rem); color: var(--text-muted); max-width: 700px; margin: 0 auto 2rem; }
.hero__actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-bottom: 2.5rem; }
.hero__features { display: flex; gap: 1.5rem; justify-content: center; list-style: none; flex-wrap: wrap; }
.hero__features li { display: flex; align-items: center; gap: .5rem; color: var(--text); font-size: .95rem; }
.hero__features svg { width: 18px; height: 18px; color: var(--primary); }
.hero__scroll { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: .5rem; color: var(--text-muted); font-size: .85rem; animation: bounce 2s infinite; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes bounce { 0%, 100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(8px); } }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: .6rem; padding: .85rem 1.75rem; border-radius: 8px; text-decoration: none; font-weight: 600; transition: var(--transition); border: 0; cursor: pointer; font-size: .95rem; }
.btn--primary { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: var(--white); box-shadow: 0 4px 14px rgba(37,99,235,.25); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(37,99,235,.4); }
.btn--outline { background: transparent; border: 1.5px solid var(--primary); color: var(--primary); }
.btn--outline:hover { background: rgba(37,99,235,.08); }
.btn--secondary { background: var(--surface); color: var(--text); border: 1px solid var(--border); }
.btn--secondary:hover { background: rgba(37,99,235,.08); border-color: var(--primary); }
.btn--small { padding: .6rem 1.25rem; font-size: .9rem; }
.btn--lg { padding: 1rem 2.25rem; font-size: 1.05rem; }
.btn--block { width: 100%; justify-content: center; }

/* Stats */
.stats { background: linear-gradient(135deg, var(--surface), var(--bg)); padding: 3rem 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.stat { text-align: center; }
.stat__num { display: block; font-family: "Playfair Display", serif; font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; color: var(--primary); margin-bottom: .25rem; }
.stat__label { color: var(--text-muted); font-size: .95rem; }
@media (max-width: 900px) { .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; } }
@media (max-width: 500px) { .stats__grid { grid-template-columns: 1fr; } }

/* Section Headers */
.label { display: inline-block; padding: .4rem .9rem; background: rgba(37,99,235,.08); border: 1px solid var(--primary); color: var(--primary); border-radius: 999px; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.2px; margin-bottom: 1rem; }
.title { font-family: "Playfair Display", serif; font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; line-height: 1.2; margin-bottom: 1rem; }
.title em { font-style: italic; color: var(--primary); }
.intro { font-size: 1.1rem; color: var(--text-muted); max-width: 700px; margin-bottom: 2rem; }
.section__header { text-align: center; margin-bottom: 3rem; }

/* About */
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.about__media { position: relative; }
.about__media img { border-radius: var(--radius); box-shadow: var(--shadow); }
.about__badge { position: absolute; bottom: 1.5rem; right: 1.5rem; background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: var(--white); padding: 1rem 1.25rem; border-radius: var(--radius); text-align: center; box-shadow: var(--shadow); }
.about__badge span { display: block; font-size: 1.5rem; font-weight: 700; }
.about__badge small { font-size: .75rem; text-transform: uppercase; letter-spacing: .5px; opacity: .9; }
.checklist { list-style: none; margin: 1.5rem 0; }
.checklist li { padding: .6rem 0 .6rem 2rem; position: relative; }
.checklist li::before { content: "✓"; position: absolute; left: 0; color: var(--primary); font-weight: 700; }
@media (max-width: 900px) { .about__grid { grid-template-columns: 1fr; } }

/* Properties */
.properties__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.property { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: var(--transition); box-shadow: 0 2px 8px rgba(0,0,0,.04); }
.property:hover { transform: translateY(-6px); box-shadow: 0 12px 32px rgba(37,99,235,.15); border-color: var(--primary); }
.property__img { height: 240px; background-size: cover; background-position: center; position: relative; }
.property__tag { position: absolute; top: 1rem; right: 1rem; padding: .4rem .8rem; background: var(--primary); color: var(--white); border-radius: 6px; font-size: .8rem; font-weight: 600; }
.property__body { padding: 1.5rem; }
.property__body h3 { margin-bottom: .5rem; font-size: 1.25rem; }
.property__location { display: flex; align-items: center; gap: .4rem; color: var(--text-muted); font-size: .9rem; margin-bottom: 1rem; }
.property__features { display: flex; gap: .6rem; list-style: none; margin: 1rem 0; flex-wrap: wrap; }
.property__features li { padding: .3rem .7rem; background: rgba(37,99,235,.08); border: 1px solid var(--border); border-radius: 6px; font-size: .85rem; }
@media (max-width: 1000px) { .properties__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .properties__grid { grid-template-columns: 1fr; } }

/* Services */
.services { background: var(--surface); }
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.service { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem; transition: var(--transition); box-shadow: 0 2px 8px rgba(0,0,0,.04); }
.service:hover { border-color: var(--primary); box-shadow: 0 8px 28px rgba(37,99,235,.12); }
.service__icon { width: 56px; height: 56px; background: rgba(37,99,235,.08); border-radius: 12px; display: grid; place-items: center; margin-bottom: 1.5rem; }
.service__icon svg { width: 32px; height: 32px; color: var(--primary); }
.service h3 { margin-bottom: .75rem; font-size: 1.35rem; }
.service p { color: var(--text-muted); }
@media (max-width: 900px) { .services__grid { grid-template-columns: 1fr; } }

/* Timeline */
.timeline { display: grid; gap: 1.5rem; max-width: 900px; margin: 0 auto; }
.timeline__item { display: grid; grid-template-columns: auto 1fr; gap: 1.5rem; }
.timeline__marker { width: 48px; height: 48px; background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: var(--white); border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 1.25rem; flex-shrink: 0; }
.timeline__content { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; box-shadow: 0 2px 8px rgba(0,0,0,.04); }
.timeline__content h3 { margin-bottom: .5rem; font-size: 1.25rem; }
.timeline__content p { color: var(--text-muted); }

/* Testimonials */
.testimonials { background: var(--bg); }
.slider { position: relative; max-width: 900px; margin: 0 auto; display: grid; grid-template-columns: auto 1fr auto; gap: 1rem; align-items: center; }
.slider__track { overflow: hidden; }
.slider__slides { display: flex; transition: transform .5s ease; }
.testimonial { min-width: 100%; padding: 2rem; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: 0 2px 8px rgba(0,0,0,.04); }
.testimonial__quote { width: 48px; height: 48px; background: rgba(37,99,235,.08); border-radius: 50%; display: grid; place-items: center; margin-bottom: 1rem; }
.testimonial__quote svg { width: 24px; height: 24px; color: var(--primary); }
.testimonial p { font-size: 1.1rem; line-height: 1.7; margin-bottom: 1.5rem; }
.testimonial__author strong { display: block; margin-bottom: .25rem; }
.testimonial__author span { color: var(--text-muted); font-size: .9rem; }
.slider__btn { width: 40px; height: 40px; background: rgba(37,99,235,.08); border: 1px solid var(--border); border-radius: 50%; display: grid; place-items: center; cursor: pointer; transition: var(--transition); }
.slider__btn:hover { background: var(--primary); border-color: var(--primary); }
.slider__btn svg { width: 20px; height: 20px; color: var(--text); }
.slider__btn:hover svg { color: var(--white); }
.slider__dots { display: flex; gap: .5rem; justify-content: center; margin-top: 1.5rem; }
.slider__dots button { width: 10px; height: 10px; border-radius: 50%; border: 0; background: rgba(37,99,235,.2); cursor: pointer; transition: var(--transition); }
.slider__dots button.active { background: var(--primary); width: 28px; border-radius: 999px; }

/* CTA */
.cta { background: linear-gradient(135deg, rgba(37,99,235,.08), rgba(59,130,246,.05)); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 4rem 0; text-align: center; }
.cta__content h2 { font-family: "Playfair Display", serif; font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1rem; }
.cta__content p { font-size: 1.1rem; color: var(--text-muted); margin-bottom: 2rem; }
.cta__actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* Contact */
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.contact__info h2 { margin-bottom: 1rem; font-size: 2rem; }
.contact-details { margin: 2rem 0; }
.contact-detail { display: flex; gap: 1rem; margin-bottom: 1.5rem; }
.contact-detail svg { width: 24px; height: 24px; color: var(--primary); flex-shrink: 0; }
.contact-detail strong { display: block; margin-bottom: .25rem; }
.contact-detail a { color: var(--primary); text-decoration: none; }
.map { margin-top: 2rem; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }
.map iframe { width: 100%; height: 280px; border: 0; }
.contact__form { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem; box-shadow: 0 2px 8px rgba(0,0,0,.04); }
.contact__form h3 { margin-bottom: 1.5rem; font-size: 1.5rem; }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; margin-bottom: .5rem; font-weight: 600; font-size: .9rem; }
.form-group input, .form-group textarea { width: 100%; padding: .85rem 1rem; background: var(--bg); border: 1px solid var(--border); border-radius: 8px; color: var(--text); font-family: inherit; font-size: .95rem; transition: var(--transition); }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(37,99,235,.1); }
.form-error { display: block; color: #e74c3c; font-size: .85rem; margin-top: .4rem; min-height: 1.2em; }
.form-status { margin-top: 1rem; color: var(--primary); text-align: center; }
@media (max-width: 900px) { .contact__grid { grid-template-columns: 1fr; } }

/* Footer */
.footer { background: var(--surface); border-top: 1px solid var(--border); padding: 3rem 0 1.5rem; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; margin-bottom: 2rem; }
.footer__logo { width: 48px; height: 48px; color: var(--primary); margin-bottom: 1rem; }
.footer__brand h3 { margin-bottom: .75rem; color: var(--text); }
.footer__brand p { color: var(--text-muted); }
.footer__links h4, .footer__contact h4 { margin-bottom: 1rem; font-size: 1.1rem; color: var(--text); }
.footer__links a { display: block; color: var(--text-muted); text-decoration: none; margin-bottom: .5rem; transition: var(--transition); }
.footer__links a:hover { color: var(--primary); }
.footer__contact p { color: var(--text-muted); line-height: 1.8; }
.footer__bottom { border-top: 1px solid var(--border); padding-top: 1.5rem; text-align: center; color: var(--text-muted); font-size: .9rem; }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr; } }

/* FABs */
.fab { position: fixed; bottom: 1.5rem; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; box-shadow: 0 6px 20px rgba(37,99,235,.3); transition: var(--transition); z-index: 999; text-decoration: none; }
.fab svg { width: 24px; height: 24px; }
.fab--phone { right: 1.5rem; background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: var(--white); }
.fab--whatsapp { right: 5rem; background: #25D366; color: var(--white); }
.fab:hover { transform: translateY(-4px); box-shadow: 0 10px 28px rgba(37,99,235,.4); }

/* Reveals */
.reveal-up, .reveal-left, .reveal-right { opacity: 0; transform: translateY(30px); transition: .8s ease; }
.reveal-left { transform: translateX(-30px); }
.reveal-right { transform: translateX(30px); }
.reveal-up.revealed, .reveal-left.revealed, .reveal-right.revealed { opacity: 1; transform: translate(0); }

/* Responsive */
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
