
/* ================================================

   GROFF HOMES - Clean CSS

   ================================================ */



:root {

    --sand-light: #F7F3EE;

    --sand: #E8DFD4;

    --sand-dark: #D4C4B0;

    --terracotta: #C4785A;

    --terracotta-dark: #A85E42;

    --ocean-deep: #1B4D5C;

    --ocean-mid: #2A6B7C;

    --ocean-light: #3D8B9C;

    --palm-green: #4A7C59;

    --coral-accent: #E8927C;

    --white: #FFFFFF;

    --charcoal: #2C3E3E;

    --text-dark: #1E2D2D;

    --text-muted: #5A6B6B;

    --font-display: 'Playfair Display', Georgia, serif;

    --font-body: 'Barlow', -apple-system, sans-serif;

    --font-accent: 'Barlow Condensed', sans-serif;

    --section-pad: clamp(4rem, 8vw, 8rem);

    --container-max: 1400px;

}



/* Reset */

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

html { scroll-behavior: smooth; }

body { font-family: var(--font-body); color: var(--text-dark); background: var(--sand-light); line-height: 1.6; overflow-x: hidden; }

.container { max-width: var(--container-max); margin: 0 auto; padding: 0 2rem; }

section { padding: var(--section-pad) 0; }



/* Ticker */

.ticker-wrapper { background: var(--ocean-deep); overflow: hidden; padding: 0.75rem 0; }

.ticker { display: flex; animation: ticker 40s linear infinite; }

.ticker-item { display: flex; align-items: center; gap: 0.5rem; padding: 0 3rem; white-space: nowrap; color: var(--sand-light); font-size: 0.875rem; font-weight: 500; letter-spacing: 0.02em; }

.ticker-item a { color: var(--coral-accent); text-decoration: none; transition: color 0.3s; }

.ticker-item a:hover { color: var(--white); }

@keyframes ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }



/* Navigation */

.nav-wrapper { background: var(--white); position: sticky; top: 0; z-index: 1000; box-shadow: 0 2px 20px rgba(27, 77, 92, 0.08); }

.nav { display: flex; align-items: center; justify-content: space-between; padding: 1rem 2rem; max-width: var(--container-max); margin: 0 auto; }

.logo { display: flex; align-items: center; gap: 1rem; text-decoration: none; }

.logo-mark { width: 56px; height: 56px; background: linear-gradient(135deg, var(--ocean-deep) 0%, var(--ocean-mid) 100%); border-radius: 12px; display: flex; align-items: center; justify-content: center; color: var(--white); font-family: var(--font-display); font-size: 1.75rem; font-weight: 700; position: relative; overflow: hidden; }

.logo-mark::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 4px; background: var(--terracotta); }

.logo-text { display: flex; flex-direction: column; }

.logo-text .company { font-family: var(--font-display); font-size: 1.625rem; font-weight: 700; color: var(--ocean-deep); line-height: 1.1; letter-spacing: -0.01em; }

.logo-text .tagline { font-family: var(--font-accent); font-size: 0.8rem; font-weight: 600; color: var(--text-muted); letter-spacing: 0.15em; text-transform: uppercase; }

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

.nav-links a { color: var(--text-dark); text-decoration: none; font-weight: 600; font-size: 0.9375rem; transition: color 0.3s; position: relative; letter-spacing: 0.01em; }

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

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

.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.nav-cta { display: flex; align-items: center; gap: 1.5rem; }

.nav-phone { display: flex; align-items: center; gap: 0.5rem; color: var(--ocean-deep); font-weight: 600; font-size: 0.9375rem; }

.mobile-menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: 0.5rem; }

.mobile-menu-toggle span { display: block; width: 24px; height: 2px; background: var(--ocean-deep); margin: 5px 0; transition: all 0.3s; }



/* Buttons */

.btn { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.9375rem 1.875rem; border-radius: 8px; font-family: var(--font-body); font-weight: 700; font-size: 0.9375rem; text-decoration: none; transition: all 0.3s ease; cursor: pointer; border: none; letter-spacing: 0.02em; }

.btn-primary { background: linear-gradient(135deg, var(--terracotta) 0%, var(--terracotta-dark) 100%); color: var(--white); box-shadow: 0 4px 15px rgba(196, 120, 90, 0.35); }

.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 25px rgba(196, 120, 90, 0.45); }

.btn-secondary { background: var(--white); color: var(--ocean-deep); border: 2px solid var(--ocean-deep); }

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



/* Hero */

.hero { position: relative; min-height: 85vh; display: flex; align-items: center; background: linear-gradient(135deg, var(--sand-light) 0%, var(--sand) 100%); overflow: hidden; }

.hero::before { content: ''; position: absolute; top: -50%; right: -20%; width: 80%; height: 200%; background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%231B4D5C' fill-opacity='0.03'%3E%3Cpath d='M30 30c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10-10-4.477-10-10zm0 0c0 5.523-4.477 10-10 10S0 35.523 0 30s4.477-10 10-10 10 4.477 10 10z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); transform: rotate(15deg); opacity: 0.6; }

.hero-content { display: grid; grid-template-columns: 1fr 1.2fr; gap: 4rem; align-items: center; padding: var(--section-pad) 0; position: relative; z-index: 2; }

.hero-text { animation: fadeInUp 0.8s ease-out; }

.hero-badge { display: inline-flex; align-items: center; gap: 0.5rem; background: var(--white); padding: 0.625rem 1.25rem; border-radius: 100px; font-size: 0.875rem; font-weight: 600; color: var(--ocean-deep); margin-bottom: 1.5rem; box-shadow: 0 4px 15px rgba(27, 77, 92, 0.1); }

.hero-badge svg { color: var(--palm-green); }

.hero h1 { font-family: var(--font-display); font-size: clamp(2.75rem, 5vw, 4rem); font-weight: 900; line-height: 1.08; color: var(--text-dark); margin-bottom: 1.5rem; letter-spacing: -0.03em; }

.hero h1 span { color: var(--ocean-deep); position: relative; }

.hero h1 span::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 12px; background: linear-gradient(90deg, var(--terracotta), var(--coral-accent)); opacity: 0.3; transform: translateY(50%); border-radius: 4px; }

.hero-description { font-size: 1.125rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 2rem; max-width: 520px; }

.hero-cta { display: flex; gap: 1rem; margin-bottom: 3rem; }

.hero-stats { display: flex; gap: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--sand-dark); }

.hero-visual { animation: fadeInUp 0.8s ease-out 0.2s both; }

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



/* Stats */

.stat { text-align: center; }

.stat-value { font-family: var(--font-display); font-size: 2.5rem; font-weight: 900; color: var(--ocean-deep); line-height: 1; margin-bottom: 0.25rem; letter-spacing: -0.02em; }

.stat-label { font-family: var(--font-accent); font-size: 0.8125rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); }



/* Home Showcase */

.home-showcase { position: relative; padding: 2rem; }

.home-showcase-main { background: var(--white); border-radius: 24px; padding: 2rem; box-shadow: 0 30px 60px rgba(27, 77, 92, 0.15); position: relative; }

.home-illustration { position: relative; height: 280px; display: flex; align-items: flex-end; justify-content: center; }

.house-shape { width: 320px; position: relative; }

.house-roof { width: 0; height: 0; border-left: 180px solid transparent; border-right: 180px solid transparent; border-bottom: 100px solid var(--ocean-deep); position: relative; left: -20px; }

.house-roof::before { content: ''; position: absolute; bottom: -100px; left: -160px; width: 320px; height: 140px; background: var(--sand); border-radius: 0 0 8px 8px; }

.house-roof::after { content: ''; position: absolute; bottom: -80px; left: -40px; width: 60px; height: 80px; background: var(--terracotta); border-radius: 4px 4px 0 0; }

.palm-tree { position: absolute; bottom: 0; width: 60px; height: 60px; background: radial-gradient(ellipse at center, var(--palm-green) 0%, transparent 70%); }

.palm-tree.left { left: -40px; }

.palm-tree.right { right: -40px; }

.showcase-badge { position: absolute; top: 1.5rem; left: 1.5rem; background: var(--white); padding: 0.75rem 1.25rem; border-radius: 8px; display: flex; align-items: center; gap: 0.5rem; box-shadow: 0 4px 15px rgba(0,0,0,0.15); }

.showcase-badge-icon { width: 32px; height: 32px; background: var(--palm-green); border-radius: 6px; display: flex; align-items: center; justify-content: center; color: var(--white); }

.showcase-badge-text { font-family: var(--font-accent); font-size: 0.75rem; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; }

.showcase-badge-value { font-family: var(--font-body); font-weight: 800; color: var(--ocean-deep); font-size: 0.9375rem; }

.showcase-price { position: absolute; bottom: 1.5rem; right: 1.5rem; background: var(--ocean-deep); color: var(--white); padding: 1rem 1.5rem; border-radius: 12px; box-shadow: 0 4px 15px rgba(27, 77, 92, 0.4); }

.showcase-price-label { font-family: var(--font-accent); font-size: 0.6875rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.15em; opacity: 0.8; }

.showcase-price-value { font-family: var(--font-display); font-size: 1.625rem; font-weight: 800; }



/* Model Categories */

.model-cats { display: flex; justify-content: center; gap: 0.75rem; margin-top: -2rem; position: relative; z-index: 10; flex-wrap: wrap; padding: 0 1rem; }

.model-cat { padding: 0.75rem 1.5rem; background: var(--white); border: 2px solid transparent; border-radius: 100px; font-family: var(--font-body); font-weight: 700; font-size: 0.875rem; color: var(--text-muted); cursor: pointer; transition: all 0.3s; box-shadow: 0 4px 15px rgba(27, 77, 92, 0.1); letter-spacing: 0.02em; }

.model-cat:hover, .model-cat.active { border-color: var(--ocean-deep); color: var(--ocean-deep); }

.model-cat.active { background: var(--ocean-deep); color: var(--white); }



/* Section Headers */

.section-header { text-align: center; max-width: 700px; margin: 0 auto 4rem; }

.section-label { display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--font-accent); font-size: 0.875rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.2em; color: var(--terracotta); margin-bottom: 1rem; }

.section-label::before, .section-label::after { content: ''; width: 40px; height: 3px; background: var(--terracotta); }

.section-title { font-family: var(--font-display); font-size: clamp(2.25rem, 4.5vw, 3.25rem); font-weight: 800; color: var(--ocean-deep); margin-bottom: 1rem; line-height: 1.15; letter-spacing: -0.02em; }

.section-subtitle { font-size: 1.0625rem; color: var(--text-muted); }



/* Models Section */

.models-section { background: var(--white); }

.models-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2rem; }

.model-card { background: var(--sand-light); border-radius: 20px; overflow: hidden; transition: all 0.4s ease; cursor: pointer; position: relative; }

.model-card:hover { transform: translateY(-8px); box-shadow: 0 20px 50px rgba(27, 77, 92, 0.15); }

.model-image { height: 220px; background: linear-gradient(135deg, var(--sand) 0%, var(--sand-dark) 100%); position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; }

.model-image::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(27, 77, 92, 0.05) 100%); }

.model-image[style*="background-image"] { background-size: cover; background-position: center; }

.model-image[style*="background-image"] .model-floor-plan { display: none; }

.model-floor-plan { width: 80%; height: 80%; background: var(--white); border-radius: 12px; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 25px rgba(0,0,0,0.1); font-family: var(--font-display); font-size: 1.25rem; color: var(--ocean-mid); font-weight: 500; }

.model-tag { position: absolute; top: 1rem; left: 1rem; padding: 0.5rem 1rem; background: var(--ocean-deep); color: var(--white); font-family: var(--font-accent); font-size: 0.75rem; font-weight: 700; border-radius: 6px; text-transform: uppercase; letter-spacing: 0.1em; }

.model-tag.popular { background: var(--terracotta); }

.model-content { padding: 1.5rem; }

.model-name { font-family: var(--font-display); font-size: 1.625rem; font-weight: 700; color: var(--ocean-deep); margin-bottom: 0.5rem; letter-spacing: -0.01em; }

.model-price { font-family: var(--font-accent); font-size: 1.125rem; font-weight: 700; color: var(--terracotta); margin-bottom: 1rem; letter-spacing: 0.02em; }

.model-specs { display: flex; gap: 1.5rem; padding-top: 1rem; border-top: 1px solid var(--sand-dark); }

.model-spec { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; color: var(--text-muted); }

.model-spec svg { width: 18px; height: 18px; color: var(--ocean-mid); }



/* Process Section */

.process-section { background: linear-gradient(180deg, var(--sand-light) 0%, var(--sand) 100%); position: relative; overflow: hidden; }

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

.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; position: relative; }

.process-grid::before { content: ''; position: absolute; top: 60px; left: 10%; right: 10%; height: 3px; background: linear-gradient(90deg, var(--terracotta), var(--ocean-mid)); border-radius: 3px; }

.process-step { text-align: center; position: relative; }

.process-number { width: 85px; height: 85px; background: var(--white); border: 5px solid var(--terracotta); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 1.5rem; font-family: var(--font-display); font-size: 2.25rem; font-weight: 900; color: var(--terracotta); position: relative; z-index: 2; box-shadow: 0 8px 25px rgba(196, 120, 90, 0.2); }

.process-icon { width: 50px; height: 50px; background: var(--ocean-deep); border-radius: 12px; display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; color: var(--white); }

.process-title { font-family: var(--font-display); font-size: 1.375rem; font-weight: 700; color: var(--ocean-deep); margin-bottom: 0.75rem; letter-spacing: -0.01em; }

.process-desc { font-size: 0.9375rem; color: var(--text-muted); line-height: 1.6; }



/* Services Section */

.services-section { background: var(--ocean-deep); color: var(--white); position: relative; overflow: hidden; }

.services-section::before { content: ''; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M50 50m-40 0a40,40 0 1,0 80,0a40,40 0 1,0 -80,0' fill='none' stroke='%23ffffff' stroke-width='0.5' opacity='0.05'/%3E%3C/svg%3E"); opacity: 0.5; }

.services-section .section-label { color: var(--coral-accent); }

.services-section .section-label::before, .services-section .section-label::after { background: var(--coral-accent); }

.services-section .section-title { color: var(--white); }

.services-section .section-subtitle { color: rgba(255,255,255,0.7); }

.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; position: relative; z-index: 2; }

.service-card { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: 16px; padding: 2rem; transition: all 0.4s ease; backdrop-filter: blur(10px); }

.service-card:hover { background: rgba(255,255,255,0.1); transform: translateY(-5px); border-color: rgba(255,255,255,0.2); }

.service-icon { width: 56px; height: 56px; background: linear-gradient(135deg, var(--terracotta) 0%, var(--coral-accent) 100%); border-radius: 14px; display: flex; align-items: center; justify-content: center; margin-bottom: 1.5rem; color: var(--white); }

.service-title { font-family: var(--font-display); font-size: 1.375rem; font-weight: 700; margin-bottom: 0.75rem; letter-spacing: -0.01em; }

.service-desc { font-size: 0.9375rem; color: rgba(255,255,255,0.7); line-height: 1.6; }



/* Team Section */

.team-section { background: var(--white); }

.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }

.team-card { text-align: center; padding: 2rem; background: var(--sand-light); border-radius: 20px; transition: all 0.4s ease; }

.team-card:hover { transform: translateY(-8px); box-shadow: 0 20px 50px rgba(27, 77, 92, 0.12); }

.team-avatar { width: 120px; height: 120px; border-radius: 50%; margin: 0 auto 1.5rem; background: linear-gradient(135deg, var(--ocean-mid) 0%, var(--ocean-deep) 100%); display: flex; align-items: center; justify-content: center; color: var(--white); font-family: var(--font-display); font-size: 2.5rem; font-weight: 800; position: relative; box-shadow: 0 10px 30px rgba(27, 77, 92, 0.25); }

.team-avatar::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 4px solid var(--terracotta); }

.team-name { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--ocean-deep); margin-bottom: 0.25rem; letter-spacing: -0.01em; }

.team-role { font-family: var(--font-accent); font-size: 0.875rem; color: var(--terracotta); font-weight: 700; margin-bottom: 1rem; text-transform: uppercase; letter-spacing: 0.08em; }

.team-contact { display: flex; flex-direction: column; gap: 0.5rem; }

.team-contact a { display: flex; align-items: center; justify-content: center; gap: 0.5rem; color: var(--text-muted); text-decoration: none; font-size: 0.875rem; transition: color 0.3s; }

.team-contact a:hover { color: var(--ocean-deep); }



/* Pools Section */

.pools-section { background: linear-gradient(135deg, var(--sand-light) 0%, var(--sand) 100%); position: relative; overflow: hidden; }

.pools-content { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }

.pools-visual { position: relative; }

.pool-showcase { width: 100%; height: 400px; background: linear-gradient(135deg, #3DD6F5 0%, #0EA5E9 50%, var(--ocean-mid) 100%); border-radius: 24px; position: relative; overflow: hidden; box-shadow: 0 30px 60px rgba(27, 77, 92, 0.25); }

.pool-water { position: absolute; inset: 20px; background: linear-gradient(180deg, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0.1) 50%, transparent 100%); border-radius: 16px; animation: waterShimmer 3s ease-in-out infinite; }

@keyframes waterShimmer { 0%, 100% { opacity: 0.6; } 50% { opacity: 0.8; } }

.pool-feature-badge { position: absolute; top: 1rem; right: 1rem; background: var(--white); padding: 1rem 1.5rem; border-radius: 12px; display: flex; align-items: center; gap: 0.75rem; box-shadow: 0 8px 25px rgba(0,0,0,0.2); }

.pool-feature-icon { width: 40px; height: 40px; background: linear-gradient(135deg, #3DD6F5 0%, #0EA5E9 100%); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: var(--white); }

.pool-feature-text { font-family: var(--font-accent); font-size: 0.8125rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; }

.pool-feature-value { font-family: var(--font-body); font-size: 1.375rem; font-weight: 800; color: var(--ocean-deep); }

.pools-text h3 { font-family: var(--font-display); font-size: clamp(2rem, 3.5vw, 2.75rem); font-weight: 800; color: var(--ocean-deep); margin-bottom: 1rem; line-height: 1.15; letter-spacing: -0.02em; }

.pools-text p { font-size: 1.0625rem; color: var(--text-muted); margin-bottom: 1.5rem; line-height: 1.7; }

.pools-features { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 2rem; }

.pool-feature { display: flex; align-items: center; gap: 0.75rem; font-size: 0.9375rem; color: var(--text-dark); }

.pool-feature svg { width: 22px; height: 22px; color: var(--palm-green); flex-shrink: 0; }



/* Pool Gallery */

.pool-gallery { max-width: 500px; }

.pool-hero { height: 280px; background-size: cover; background-position: center; border-radius: 12px; box-shadow: 0 8px 25px rgba(0,0,0,0.15); }

.pool-thumbs { display: flex; flex-direction: row; gap: 0.5rem; margin-top: 0.75rem; }

.pool-thumb { width: 100px; height: 70px; flex-shrink: 0; background-size: cover; background-position: center; border-radius: 8px; cursor: pointer; transition: transform 0.2s; }

.pool-thumb:hover { transform: scale(1.05); }



/* Communities Section */

.communities-section { background: var(--white); }

.communities-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }

.community-card { position: relative; height: 300px; border-radius: 24px; overflow: hidden; cursor: pointer; }

.community-card::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, var(--ocean-deep) 0%, var(--ocean-mid) 100%); z-index: 1; }

.community-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.6) 100%); z-index: 2; }

.community-pattern { position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'%3E%3Cpath d='M0 40L40 0H20L0 20M40 40V20L20 40'/%3E%3C/g%3E%3C/svg%3E"); z-index: 1; }

.community-content { position: absolute; bottom: 0; left: 0; right: 0; padding: 2rem; z-index: 3; color: var(--white); }

.community-label { font-family: var(--font-accent); font-size: 0.8125rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.15em; opacity: 0.9; margin-bottom: 0.5rem; }

.community-name { font-family: var(--font-display); font-size: 2.25rem; font-weight: 800; margin-bottom: 0.5rem; letter-spacing: -0.01em; }

.community-models { font-size: 0.9375rem; opacity: 0.9; }

.community-card:hover .community-pattern { animation: patternMove 20s linear infinite; }

@keyframes patternMove { 0% { background-position: 0 0; } 100% { background-position: 400px 400px; } }



/* Testimonials Section */

.testimonials-section { background: linear-gradient(180deg, var(--sand-light) 0%, var(--white) 100%); }

.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 2rem; }

.testimonial-card { background: var(--white); border-radius: 20px; padding: 2rem; box-shadow: 0 10px 40px rgba(27, 77, 92, 0.08); position: relative; }

.testimonial-card::before { content: '"'; position: absolute; top: 1rem; right: 2rem; font-family: var(--font-display); font-size: 6rem; color: var(--sand); line-height: 1; }

.testimonial-stars { display: flex; gap: 0.25rem; margin-bottom: 1rem; }

.testimonial-stars svg { width: 20px; height: 20px; color: var(--terracotta); fill: var(--terracotta); }

.testimonial-text { font-size: 1rem; color: var(--text-dark); line-height: 1.7; margin-bottom: 1.5rem; position: relative; z-index: 2; }

.testimonial-author { display: flex; align-items: center; gap: 1rem; }

.testimonial-avatar { width: 50px; height: 50px; border-radius: 50%; background: linear-gradient(135deg, var(--ocean-mid) 0%, var(--ocean-deep) 100%); display: flex; align-items: center; justify-content: center; color: var(--white); font-weight: 600; }

.testimonial-name { font-weight: 700; color: var(--ocean-deep); margin-bottom: 0.125rem; }

.testimonial-role { font-size: 0.8125rem; color: var(--text-muted); }



/* CTA Section */

.cta-section { background: linear-gradient(135deg, var(--terracotta) 0%, var(--terracotta-dark) 100%); color: var(--white); text-align: center; position: relative; overflow: hidden; }

.cta-section::before { content: ''; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); }

.cta-content { position: relative; z-index: 2; max-width: 700px; margin: 0 auto; }

.cta-section h2 { font-family: var(--font-display); font-size: clamp(2.25rem, 4.5vw, 3.25rem); font-weight: 800; margin-bottom: 1rem; letter-spacing: -0.02em; }

.cta-section p { font-size: 1.125rem; opacity: 0.9; margin-bottom: 2rem; }

.cta-buttons { display: flex; justify-content: center; gap: 1rem; margin-bottom: 2rem; }

.cta-section .btn-primary { background: var(--white); color: var(--terracotta); box-shadow: 0 4px 20px rgba(0,0,0,0.2); }

.cta-section .btn-secondary { border-color: var(--white); color: var(--white); }

.cta-section .btn-secondary:hover { background: var(--white); color: var(--terracotta); }

.cta-contact { display: flex; justify-content: center; gap: 3rem; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.2); }

.cta-contact a { display: flex; align-items: center; gap: 0.5rem; color: var(--white); text-decoration: none; font-weight: 500; transition: opacity 0.3s; }

.cta-contact a:hover { opacity: 0.8; }



/* Footer */

footer { background: var(--ocean-deep); color: var(--white); padding: 4rem 0 2rem; }

.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 3rem; margin-bottom: 3rem; }

.footer-brand .logo { margin-bottom: 1.5rem; }

.footer-brand .logo-mark { background: rgba(255,255,255,0.1); }

.footer-brand .logo-text .company { color: var(--white); }

.footer-brand .logo-text .tagline { color: rgba(255,255,255,0.6); }

.footer-brand p { color: rgba(255,255,255,0.7); font-size: 0.9375rem; line-height: 1.7; margin-bottom: 1.5rem; }

.footer-social { display: flex; gap: 1rem; }

.footer-social a { width: 40px; height: 40px; background: rgba(255,255,255,0.1); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: var(--white); transition: all 0.3s; }

.footer-social a:hover { background: var(--terracotta); }

.footer-column h4 { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; margin-bottom: 1.5rem; letter-spacing: -0.01em; }

.footer-column ul { list-style: none; }

.footer-column li { margin-bottom: 0.75rem; }

.footer-column a { color: rgba(255,255,255,0.7); text-decoration: none; font-size: 0.9375rem; transition: color 0.3s; }

.footer-column a:hover { color: var(--white); }

.footer-contact-item { display: flex; align-items: flex-start; gap: 0.75rem; margin-bottom: 1rem; color: rgba(255,255,255,0.7); font-size: 0.9375rem; }

.footer-contact-item svg { width: 20px; height: 20px; color: var(--coral-accent); flex-shrink: 0; margin-top: 2px; }

.footer-contact-item a { color: rgba(255,255,255,0.7); text-decoration: none; transition: color 0.3s; }

.footer-contact-item a:hover { color: var(--white); }

.footer-bottom { padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.1); display: flex; justify-content: space-between; align-items: center; font-size: 0.875rem; color: rgba(255,255,255,0.6); }

.footer-bottom a { color: var(--coral-accent); text-decoration: none; }



/* ================================================

   RESPONSIVE - All Media Queries Consolidated

   ================================================ */



@media (max-width: 1024px) {

    .hero-content { grid-template-columns: 1fr; text-align: center; }

    .hero-stats { justify-content: center; }

    .hero-cta { justify-content: center; }

    .hero-description { margin-left: auto; margin-right: auto; }

    .process-grid { grid-template-columns: repeat(2, 1fr); gap: 3rem; }

    .process-grid::before { display: none; }

    .pools-content { grid-template-columns: 1fr; }

    .footer-grid { grid-template-columns: 1fr 1fr; }

}



@media (max-width: 768px) {

    .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); flex-direction: column; padding: 1rem 2rem; gap: 1rem; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }

    .nav-links.mobile-open { display: flex; }

    .mobile-menu-toggle { display: block; }

    .communities-grid { grid-template-columns: 1fr; }

    .process-grid { grid-template-columns: 1fr; }

    .cta-buttons { flex-direction: column; }

    .cta-contact { flex-direction: column; gap: 1rem; }

    .footer-grid { grid-template-columns: 1fr; }

    .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }

    .pools-features { grid-template-columns: 1fr; }

    .testimonials-grid { grid-template-columns: 1fr; }

}




/* Pool badge refinements */

.pool-feature-badge { padding: 0.625rem 1rem; }

.pool-feature-icon { width: 32px; height: 32px; }

.pool-feature-text { font-size: 0.6875rem; }

.pool-feature-value { font-size: 1.125rem; }




/* Two-row navigation */

.nav { flex-direction: column; padding: 0; }

.nav-row-top { display: flex; align-items: center; justify-content: space-between; padding: 1rem 2rem; width: 100%; max-width: var(--container-max); margin: 0 auto; }

.nav-row-bottom { background: var(--sand-light); border-top: 1px solid var(--sand-dark); width: 100%; }

.nav-row-bottom .nav-links { justify-content: center; padding: 0.75rem 2rem; margin: 0 auto; }

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




/* Larger logo text */

.logo-text .company { font-size: 2.25rem; }

.logo-text .tagline { font-size: 0.95rem; letter-spacing: 0.12em; }




/* Full width menu bar */

.nav-row-bottom { width: 100vw; margin-left: calc(-50vw + 50%); }




/* Fix full width menu bar */




/* Full width menu bar with centered links */

.nav-wrapper { overflow-x: clip; }

.nav-row-bottom { width: 100vw; position: relative; left: 50%; transform: translateX(-50%); display: flex; justify-content: center; }




/* Ensure full bleed on menu bar */

.nav-row-bottom { box-sizing: border-box; padding-left: calc((100vw - 100%) / 2); padding-right: calc((100vw - 100%) / 2); margin-left: calc(-50vw + 50%); margin-right: calc(-50vw + 50%); width: 100vw; left: auto; transform: none; }




/* Hero Gallery */

.hero-gallery { max-width: 550px; }

.hero-gallery-main { height: 350px; background-size: cover; background-position: center; border-radius: 16px; position: relative; box-shadow: 0 20px 50px rgba(27, 77, 92, 0.2); }

.hero-gallery-thumbs { display: flex; gap: 0.75rem; margin-top: 1rem; }

.hero-thumb { width: 120px; height: 80px; background-size: cover; background-position: center; border-radius: 8px; cursor: pointer; transition: transform 0.2s, box-shadow 0.2s; box-shadow: 0 4px 15px rgba(0,0,0,0.1); }

.hero-thumb:hover { transform: scale(1.05); box-shadow: 0 8px 25px rgba(0,0,0,0.15); }




/* Model Detail Modal */

.model-detail-modal {

    display: none;

    position: fixed;

    top: 0;

    left: 0;

    width: 100%;

    height: 100%;

    background: rgba(0,0,0,0.9);

    z-index: 9998;

    overflow-y: auto;

    padding: 2rem;

}

.model-detail-modal.active { display: block; }



.model-detail-container {

    max-width: 1200px;

    margin: 0 auto;

    background: white;

    border-radius: 16px;

    overflow: hidden;

    position: relative;

}



.model-detail-close {

    position: absolute;

    top: 1rem;

    right: 1rem;

    font-size: 2rem;

    background: none;

    border: none;

    cursor: pointer;

    color: #666;

    z-index: 10;

    width: 40px;

    height: 40px;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

}

.model-detail-close:hover { background: #f0f0f0; }



.model-detail-header {

    padding: 2rem;

    background: linear-gradient(135deg, #1b4d5c 0%, #2d6a7a 100%);

    color: white;

}

.model-detail-header h1 {

    font-family: 'Playfair Display', serif;

    font-size: 2.5rem;

    margin: 0 0 0.5rem 0;

}

.model-detail-price {

    font-size: 1.25rem;

    color: rgba(255,255,255,0.9);

}



.model-detail-grid {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 2rem;

    padding: 2rem;

}



.detail-main-image {

    width: 100%;

    height: 400px;

    background-size: contain;

    background-position: center;

    background-repeat: no-repeat;

    background-color: #f8f8f8;

    border-radius: 12px;

    cursor: pointer;

}



.detail-thumbs {

    display: flex;

    gap: 0.5rem;

    margin-top: 1rem;

    flex-wrap: wrap;

}

.detail-thumb {

    width: 80px;

    height: 60px;

    background-size: cover;

    background-position: center;

    border-radius: 6px;

    cursor: pointer;

    opacity: 0.7;

    transition: opacity 0.2s;

}

.detail-thumb:hover, .detail-thumb.active { opacity: 1; }



.detail-specs {

    display: flex;

    gap: 1.5rem;

    padding: 1.5rem;

    background: #f8f9fa;

    border-radius: 12px;

    margin-bottom: 1.5rem;

}

.detail-spec {

    text-align: center;

}

.detail-spec-value {

    font-size: 1.75rem;

    font-weight: 700;

    color: #1b4d5c;

}

.detail-spec-label {

    font-size: 0.85rem;

    color: #666;

}



.detail-section {

    margin-bottom: 1.5rem;

}

.detail-section h3 {

    font-size: 1.1rem;

    color: #1b4d5c;

    margin-bottom: 0.75rem;

    border-bottom: 2px solid #c9a96e;

    padding-bottom: 0.5rem;

}

.detail-section p {

    color: #555;

    line-height: 1.6;

}

.detail-section ul {

    list-style: none;

    padding: 0;

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 0.5rem;

}

.detail-section li {

    padding-left: 1.5rem;

    position: relative;

    color: #555;

}

.detail-section li::before {

    content: '✓';

    position: absolute;

    left: 0;

    color: #c9a96e;

    font-weight: bold;

}



#detail-communities {

    display: flex;

    gap: 0.5rem;

    flex-wrap: wrap;

}

.community-tag {

    padding: 0.5rem 1rem;

    background: #e8f4f7;

    color: #1b4d5c;

    border-radius: 20px;

    font-size: 0.9rem;

}



.detail-actions {

    display: flex;

    gap: 1rem;

    margin-top: 2rem;

}

.detail-actions .btn-primary {

    padding: 1rem 2rem;

    background: #c9a96e;

    color: white;

    text-decoration: none;

    border-radius: 8px;

    font-weight: 600;

}

.detail-actions .btn-secondary {

    padding: 1rem 2rem;

    background: white;

    color: #1b4d5c;

    text-decoration: none;

    border-radius: 8px;

    font-weight: 600;

    border: 2px solid #1b4d5c;

}



@media (max-width: 768px) {

    .model-detail-grid { grid-template-columns: 1fr; }

    .detail-main-image { height: 300px; }

}



/* Make model cards clickable */

.model-card { cursor: pointer; transition: transform 0.2s, box-shadow 0.2s; }

.model-card:hover { transform: translateY(-5px); box-shadow: 0 15px 40px rgba(0,0,0,0.15); }




/* Model Detail Navigation */

.model-detail-nav {

    position: fixed;

    top: 50%;

    transform: translateY(-50%);

    background: rgba(255,255,255,0.95);

    border: none;

    padding: 1rem 1.5rem;

    font-size: 1rem;

    font-weight: 600;

    color: #1b4d5c;

    cursor: pointer;

    z-index: 10001;

    border-radius: 8px;

    box-shadow: 0 4px 20px rgba(0,0,0,0.2);

    transition: all 0.2s;

}

.model-detail-nav:hover {

    background: #1b4d5c;

    color: white;

}

.model-detail-prev { left: 1rem; }

.model-detail-next { right: 1rem; }



@media (max-width: 768px) {

    .model-detail-nav {

        top: auto;

        bottom: 1rem;

        transform: none;

        padding: 0.75rem 1rem;

        font-size: 0.9rem;

    }

    .model-detail-prev { left: 1rem; }

    .model-detail-next { right: 1rem; }

}




/* Fix close button visibility */

.model-detail-close {

    position: absolute;

    top: 1rem;

    right: 1rem;

    font-size: 2rem;

    background: #1b4d5c !important;

    color: white !important;

    border: none;

    cursor: pointer;

    z-index: 10002;

    width: 44px;

    height: 44px;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    box-shadow: 0 2px 10px rgba(0,0,0,0.3);

}

.model-detail-close:hover { 

    background: #c9a96e !important; 

}



/* Prev/Next buttons - make sure they show */

.model-detail-prev,

.model-detail-next {

    position: fixed !important;

    top: 50% !important;

    transform: translateY(-50%) !important;

    background: #1b4d5c !important;

    color: white !important;

    border: none;

    padding: 1rem 1.25rem;

    font-size: 1rem;

    font-weight: 600;

    cursor: pointer;

    z-index: 10002 !important;

    border-radius: 8px;

    box-shadow: 0 4px 20px rgba(0,0,0,0.3);

    display: block !important;

}

.model-detail-prev { left: 2rem !important; }

.model-detail-next { right: 2rem !important; }

.model-detail-prev:hover,

.model-detail-next:hover {

    background: #c9a96e !important;

}

