/* ============================================
   International Real Estate Dream Homes
   Custom Styles — Teal + Slate Grey
   ============================================ */

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

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 1.7;
    color: #334155;
    background-color: #fafbfc;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: #0d9488;
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: #0f766e;
}

ul {
    list-style: none;
}

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

.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    background: #0d9488;
    color: #fff;
    padding: 8px 16px;
    border-radius: 0 0 8px 8px;
    z-index: 1000;
    font-size: 14px;
}

.skip-link:focus {
    top: 0;
}

/* ── Typography ── */
h1, h2, h3, h4 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 500;
    line-height: 1.2;
    color: #1e293b;
}

.section-label {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #0d9488;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 24px;
}

.accent {
    color: #0d9488;
}

.lead {
    font-size: 1.125rem;
    color: #475569;
    line-height: 1.8;
    max-width: 560px;
}

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.02em;
    padding: 14px 28px;
    border-radius: 6px;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: all 0.25s ease;
    text-decoration: none;
}

.btn-sm {
    padding: 10px 20px;
    font-size: 13px;
}

.btn-teal {
    background: #0d9488;
    color: #fff;
    border-color: #0d9488;
}

.btn-teal:hover {
    background: #0f766e;
    border-color: #0f766e;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(13, 148, 136, 0.3);
}

.btn-outline {
    background: transparent;
    color: #334155;
    border-color: #cbd5e1;
}

.btn-outline:hover {
    border-color: #0d9488;
    color: #0d9488;
}

.btn-white {
    background: #fff;
    color: #0d9488;
    border-color: #fff;
}

.btn-white:hover {
    background: #f0fdfa;
    color: #0f766e;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.btn-ghost {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.4);
}

.btn-ghost:hover {
    border-color: #fff;
    color: #fff;
}

.btn-full {
    width: 100%;
    justify-content: center;
    padding: 16px 28px;
}

/* ── Header ── */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(250, 251, 252, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(203, 213, 225, 0.5);
    transition: box-shadow 0.3s ease;
}

.header.scrolled {
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.06);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #1e293b;
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    font-weight: 500;
}

.logo:hover {
    color: #1e293b;
}

.logo-icon {
    color: #0d9488;
}

.main-nav ul {
    display: flex;
    align-items: center;
    gap: 32px;
}

.main-nav a {
    font-size: 14px;
    font-weight: 400;
    color: #475569;
    transition: color 0.2s ease;
    position: relative;
}

.main-nav a:not(.btn):hover {
    color: #0d9488;
}

.main-nav a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: #0d9488;
    transition: width 0.25s ease;
}

.main-nav a:not(.btn):hover::after {
    width: 100%;
}

/* Nav toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle-line {
    display: block;
    width: 22px;
    height: 1.5px;
    background: #334155;
    transition: all 0.3s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(1) {
    transform: rotate(45deg) translate(4px, 5px);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -5px);
}

/* ── Hero ── */
.hero {
    padding: 120px 0 60px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(13, 148, 136, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

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

.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #0d9488;
    margin-bottom: 24px;
    padding: 8px 16px;
    background: rgba(13, 148, 136, 0.06);
    border-radius: 100px;
    border: 1px solid rgba(13, 148, 136, 0.12);
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.1;
    margin-bottom: 24px;
    color: #1e293b;
}

.hero-title em {
    font-style: italic;
    color: #0d9488;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: #475569;
    line-height: 1.8;
    margin-bottom: 36px;
    max-width: 480px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-visual {
    position: relative;
}

.hero-card {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.hero-card img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.stat-cards {
    position: absolute;
    bottom: -40px;
    left: -30px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    max-width: 380px;
}

.stat-card {
    padding: 16px 20px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    min-width: 120px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.stat-card--teal {
    background: #0d9488;
    color: #fff;
}

.stat-card--teal .stat-label {
    color: rgba(255, 255, 255, 0.85);
}

.stat-card--white {
    background: #fff;
    color: #1e293b;
}

.stat-card--dark {
    background: #1e293b;
    color: #fff;
}

.stat-card--dark .stat-label {
    color: rgba(255, 255, 255, 0.7);
}

.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    font-weight: 600;
    line-height: 1;
    margin-bottom: 6px;
}

.stat-label {
    font-size: 12px;
    line-height: 1.5;
    font-weight: 400;
}

/* Hero line */
.hero-line {
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, transparent, #e2e8f0, transparent);
    margin: 60px 0 40px;
}

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

.hero-logos > span {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #94a3b8;
    white-space: nowrap;
}

.hero-logos-list {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
}

.hero-logos-list span {
    font-size: 13px;
    color: #64748b;
    font-weight: 400;
    padding: 6px 0;
    border-bottom: 1px solid #e2e8f0;
}

/* ── About ── */
.about {
    padding: 100px 0;
}

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

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

.about-image-wrap img {
    width: 100%;
    height: 620px;
    object-fit: cover;
    border-radius: 16px;
}

.about-image-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 200px;
    height: 200px;
    border: 2px solid rgba(13, 148, 136, 0.15);
    border-radius: 16px;
    z-index: -1;
}

.about-content {
    padding: 20px 0;
}

.about-content p {
    margin-bottom: 20px;
    color: #475569;
}

.about-content .lead {
    margin-bottom: 20px;
}

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

.about-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: #334155;
    font-weight: 400;
}

.about-feature svg {
    color: #0d9488;
    flex-shrink: 0;
}

/* ── Services ── */
.services {
    padding: 100px 0;
    background: #fff;
}

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

.services .section-title {
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

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

.service-card {
    padding: 36px 32px;
    border-radius: 12px;
    border: 1px solid #e8ecf1;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: #0d9488;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.service-card:hover {
    border-color: rgba(13, 148, 136, 0.2);
    box-shadow: 0 8px 40px rgba(13, 148, 136, 0.06);
    transform: translateY(-4px);
}

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

.service-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(13, 148, 136, 0.06);
    color: #0d9488;
    margin-bottom: 24px;
}

.service-card h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    font-weight: 500;
    color: #1e293b;
    margin-bottom: 12px;
}

.service-card p {
    font-size: 14px;
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 500;
    color: #0d9488;
    transition: gap 0.2s ease;
}

.service-link:hover {
    gap: 10px;
}

/* ── Areas ── */
.areas {
    padding: 100px 0;
}

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

.areas-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.area-card {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.area-card:hover {
    transform: translateY(-6px);
}

.area-card img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.area-card:hover img {
    transform: scale(1.05);
}

.area-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px 20px;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.85) 0%, transparent 100%);
    color: #fff;
}

.area-card-content h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    color: #fff;
    margin-bottom: 4px;
}

.area-card-content p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.5;
}

/* ── Testimonials ── */
.testimonials {
    padding: 100px 0;
    background: #fff;
}

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

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

.testimonial-card {
    padding: 36px 32px;
    border-radius: 12px;
    background: #fafbfc;
    border: 1px solid #e8ecf1;
    transition: all 0.3s ease;
    position: relative;
}

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

.testimonial-quote {
    color: #0d9488;
    opacity: 0.3;
    margin-bottom: 20px;
}

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

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

.testimonial-name {
    font-size: 14px;
    font-weight: 500;
    color: #1e293b;
}

.testimonial-detail {
    font-size: 12px;
    color: #94a3b8;
}

/* ── CTA ── */
.cta {
    padding: 100px 0;
    background: #1e293b;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(13, 148, 136, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.cta-content {
    flex: 1;
    min-width: 280px;
}

.cta-content .section-label {
    color: rgba(13, 148, 136, 0.7);
}

.cta-content .section-title {
    color: #fff;
    margin-bottom: 16px;
}

.cta-content .accent {
    color: #2dd4bf;
}

.cta-text {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.8;
    max-width: 440px;
}

.cta-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* ── Contact ── */
.contact {
    padding: 100px 0;
}

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

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

.contact-info .lead {
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    gap: 16px;
}

.contact-item svg {
    color: #0d9488;
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-item strong {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #1e293b;
    margin-bottom: 4px;
    letter-spacing: 0.02em;
}

.contact-item p {
    font-size: 14px;
    color: #475569;
    line-height: 1.6;
}

.contact-item a {
    color: #475569;
}

.contact-item a:hover {
    color: #0d9488;
}

.contact-map {
    border-radius: 12px;
    overflow: hidden;
}

.contact-map img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* Form */
.contact-form-wrap {
    background: #fff;
    border-radius: 16px;
    padding: 40px;
    border: 1px solid #e8ecf1;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.04);
}

.contact-form h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.form-note {
    font-size: 13px;
    color: #94a3b8;
    margin-bottom: 32px;
}

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

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

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: #334155;
    margin-bottom: 6px;
    letter-spacing: 0.02em;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 300;
    color: #1e293b;
    background: #fafbfc;
    transition: all 0.2s ease;
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #94a3b8;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #0d9488;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.08);
}

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

.form-success {
    text-align: center;
    padding: 40px 20px;
}

.form-success svg {
    color: #0d9488;
    margin-bottom: 20px;
}

.form-success h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.form-success p {
    font-size: 14px;
    color: #64748b;
}

/* ── Footer ── */
.footer {
    padding: 60px 0 0;
    background: #1e293b;
    color: rgba(255, 255, 255, 0.6);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
    padding-bottom: 48px;
}

.footer-brand .logo {
    color: #fff;
    margin-bottom: 16px;
}

.footer-tagline {
    font-size: 13px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.5);
    max-width: 260px;
}

.footer-links h4,
.footer-contact h4 {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 20px;
}

.footer-links ul,
.footer-contact ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a,
.footer-contact a {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.2s ease;
}

.footer-links a:hover,
.footer-contact a:hover {
    color: #2dd4bf;
}

.footer-contact p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.6;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.35);
}

/* ── Animations ── */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .hero-grid {
        gap: 40px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .areas-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    
    .main-nav {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(250, 251, 252, 0.98);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border-bottom: 1px solid #e2e8f0;
        padding: 24px;
        transform: translateY(-120%);
        opacity: 0;
        transition: all 0.3s ease;
        pointer-events: none;
    }
    
    .main-nav.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }
    
    .hero {
        padding: 100px 0 80px;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .hero-visual {
        order: -1;
    }
    
    .hero-card img {
        height: 280px;
    }
    
    .stat-cards {
        position: relative;
        bottom: auto;
        left: auto;
        margin-top: 16px;
        max-width: 100%;
    }
    
    .stat-card {
        flex: 1;
        min-width: 0;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .about-image-wrap img {
        height: 400px;
    }
    
    .about-image-accent {
        display: none;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .areas-grid {
        grid-template-columns: 1fr;
    }
    
    .area-card img {
        height: 200px;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-inner {
        flex-direction: column;
        text-align: center;
    }
    
    .cta-text {
        margin-left: auto;
        margin-right: auto;
    }
    
    .cta-actions {
        justify-content: center;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .contact-form-wrap {
        padding: 28px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .hero-actions .btn {
        justify-content: center;
    }
    
    .stat-cards {
        flex-direction: column;
    }
    
    .stat-card {
        min-width: auto;
    }
    
    .btn {
        padding: 12px 20px;
        font-size: 13px;
    }
}
