@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
  --primary: #ff5a3c;
  --primary-dark: #e84a2e;
  --dark: #171b2a;
  --dark-soft: #1f2435;
  --text: #4a4f63;
  --text-dark: #171b2a;
  --light: #f2f6f7;
  --white: #ffffff;
  --border: #e8ecef;
  --shadow: 0 10px 40px rgba(23, 27, 42, 0.08);
  --radius: 6px;
  --font: 'Poppins', sans-serif;
  --container: 1200px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--primary);
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--text-dark);
  line-height: 1.25;
  margin: 0 0 0.75rem;
  font-weight: 600;
}

p {
  margin: 0 0 1rem;
}

.container {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

.section {
  padding: 80px 0;
}

.section-light {
  background: var(--light);
}

.section-title-wrap {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}

.section-label {
  display: inline-block;
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border: none;
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, color 0.2s;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--primary-dark);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
}

.btn-white {
  background: var(--white);
  color: var(--primary);
}

.btn-white:hover {
  background: var(--light);
  color: var(--primary-dark);
}

/* Top bar */
.top-bar {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  padding: 10px 0;
}

.top-bar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.top-bar ul {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.top-bar a {
  color: rgba(255, 255, 255, 0.85);
}

.top-bar a:hover {
  color: var(--primary);
}

.top-social {
  display: flex;
  gap: 14px;
}

.top-social a {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
}

/* Header */
.site-header {
  background: var(--white);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.04);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 20px;
}

.logo img {
  height: 44px;
  width: auto;
}

.main-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
}

.main-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dark);
  padding: 6px 0;
  position: relative;
}

.main-nav a.active,
.main-nav a:hover {
  color: var(--primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

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

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--dark);
}

/* Hero */
.hero {
  background: var(--light);
  padding: 70px 0 120px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 30%, rgba(255, 90, 60, 0.06) 0%, transparent 50%);
  pointer-events: none;
}

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

.hero h1 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero-text {
  max-width: 520px;
}

.hero-img {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

/* Search bar */
.search-float {
  margin-top: -56px;
  position: relative;
  z-index: 5;
  margin-bottom: 40px;
}

.search-card {
  background: var(--white);
  border-radius: 10px;
  box-shadow: var(--shadow);
  padding: 24px 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr) auto;
  gap: 16px;
  align-items: end;
}

.search-card label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.search-card select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 14px;
  background: var(--white);
}

/* About block */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.about-images {
  position: relative;
}

.about-images .main-img {
  border-radius: 10px;
  overflow: hidden;
}

.about-images .sub-img {
  position: absolute;
  bottom: -24px;
  right: -16px;
  width: 45%;
  border: 6px solid var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}

.check-list .icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255, 90, 60, 0.12);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  margin-top: 3px;
}

/* Stats */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-item .icon {
  color: var(--primary);
  font-size: 28px;
  margin-bottom: 8px;
}

.stat-item h3 {
  font-size: 2rem;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.stat-item p {
  font-size: 14px;
  margin: 0;
}

/* Cards */
.card-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background: var(--white);
  padding: 36px 28px;
  border-radius: 10px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform 0.2s;
}

.service-card:hover {
  transform: translateY(-4px);
}

.service-card .icon-circle {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: rgba(255, 90, 60, 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}

.property-card {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.property-card .thumb {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.property-card .badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--primary);
  color: var(--white);
  font-size: 11px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 4px;
  text-transform: uppercase;
}

.property-card .badge.alt {
  background: #2ecc71;
}

.property-card .body {
  padding: 20px;
}

.property-meta {
  display: flex;
  gap: 16px;
  font-size: 13px;
  color: var(--text);
  margin-top: 12px;
  flex-wrap: wrap;
}

.price {
  color: var(--primary);
  font-weight: 700;
  font-size: 1.1rem;
}

/* Plan section */
.plan-split {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.plan-copy {
  background: var(--primary);
  color: var(--white);
  padding: 48px 40px;
}

.plan-copy h2,
.plan-copy h3,
.plan-copy p {
  color: var(--white);
}

.plan-copy .btn-outline {
  border-color: var(--white);
  color: var(--white);
}

.plan-copy .btn-outline:hover {
  background: var(--white);
  color: var(--primary);
}

.plan-visual {
  background: var(--white);
  padding: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.amenity-item {
  background: var(--white);
  padding: 28px 16px;
  text-align: center;
  border-radius: 8px;
  border: 1px solid var(--border);
}

.amenity-item .icon {
  color: var(--primary);
  font-size: 32px;
  margin-bottom: 10px;
}

/* Testimonials */
.testimonial-card {
  background: var(--white);
  padding: 32px 28px;
  border-radius: 10px;
  box-shadow: var(--shadow);
  height: 100%;
}

.stars {
  color: #ffc107;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.testimonial-footer {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.testimonial-footer img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
}

/* Blog */
.blog-card {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.blog-card .body {
  padding: 22px;
}

.blog-date {
  font-size: 12px;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 8px;
}

/* CTA */
.cta-bar {
  background: var(--primary);
  padding: 48px 0;
  text-align: center;
}

.cta-bar h2 {
  color: var(--white);
  margin-bottom: 20px;
}

/* Footer */
.site-footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.75);
  padding-top: 64px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr) 1.2fr;
  gap: 32px;
  padding-bottom: 48px;
}

.site-footer h4 {
  color: var(--white);
  font-size: 16px;
  margin-bottom: 20px;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
  display: block;
  margin-bottom: 10px;
}

.site-footer a:hover {
  color: var(--primary);
}

.footer-about p {
  font-size: 14px;
  margin: 16px 0 20px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--dark-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0;
  font-size: 12px;
  font-weight: 700;
}

.footer-newsletter input {
  width: 100%;
  padding: 12px 14px;
  border: none;
  border-radius: var(--radius);
  margin-bottom: 10px;
  font-family: var(--font);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* Page hero */
.page-hero {
  background: var(--light);
  padding: 56px 0;
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
}

.breadcrumb {
  font-size: 13px;
  margin-top: 8px;
}

.breadcrumb a {
  color: var(--primary);
}

/* Forms */
.form-panel {
  background: var(--white);
  padding: 36px;
  border-radius: 10px;
  box-shadow: var(--shadow);
  max-width: 720px;
  margin: 0 auto;
}

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

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

.form-group.full {
  grid-column: 1 / -1;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 14px;
}

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

.form-group input.is-invalid,
.form-group select.is-invalid,
.form-group textarea.is-invalid {
  border-color: #e74c3c;
}

.checkbox-row {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  column-gap: 12px;
  row-gap: 6px;
  align-items: start;
  margin-bottom: 18px;
}

.checkbox-row input[type='checkbox'] {
  grid-column: 1;
  grid-row: 1;
  width: 18px;
  height: 18px;
  min-width: 18px;
  margin: 0.2em 0 0;
  padding: 0;
  accent-color: var(--primary);
  cursor: pointer;
  justify-self: start;
}

.checkbox-row label {
  grid-column: 2;
  grid-row: 1;
  font-size: 14px;
  line-height: 1.55;
  cursor: pointer;
  margin: 0;
  font-weight: 400;
  color: var(--text);
  text-align: left;
}

.checkbox-row label a {
  display: inline;
}

.checkbox-row .field-error {
  grid-column: 2;
  grid-row: 2;
  display: block;
  margin: 0;
  padding: 0;
}

.checkbox-row input[type='checkbox'].is-invalid {
  outline: 2px solid #e74c3c;
  outline-offset: 1px;
}

.field-error {
  display: block;
  color: #e74c3c;
  font-size: 12px;
  margin-top: 4px;
}

.form-message {
  display: none;
  padding: 14px 16px;
  border-radius: var(--radius);
  margin-bottom: 20px;
  font-size: 14px;
  background: rgba(46, 204, 113, 0.12);
  color: #1e7e34;
  border: 1px solid rgba(46, 204, 113, 0.35);
}

.form-message.is-visible {
  display: block;
}

.form-message.is-error {
  background: rgba(231, 76, 60, 0.1);
  color: #c0392b;
  border-color: rgba(231, 76, 60, 0.35);
}

/* Legal */
.legal-content {
  max-width: 860px;
  margin: 0 auto;
}

.legal-content h2 {
  font-size: 1.35rem;
  margin-top: 2rem;
}

.legal-content h3 {
  font-size: 1.1rem;
  margin-top: 1.5rem;
}

.legal-content ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.legal-content li {
  margin-bottom: 0.5rem;
}

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.team-card {
  text-align: center;
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.team-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.team-card .body {
  padding: 20px;
}

.team-card .role {
  color: var(--primary);
  font-size: 13px;
  font-weight: 500;
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch;
}

.price-card {
  background: var(--white);
  border-radius: 10px;
  padding: 36px 28px;
  box-shadow: var(--shadow);
  border: 2px solid transparent;
  text-align: center;
}

.price-card.featured {
  border-color: var(--primary);
  transform: scale(1.02);
}

.price-card .amount {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
}

.price-card ul {
  text-align: left;
  margin: 24px 0;
}

.price-card li {
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  display: flex;
  gap: 8px;
}

.price-card li::before {
  content: '✓';
  color: var(--primary);
  font-weight: 700;
}

/* Projects collage */
.project-showcase {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
}

.project-thumbs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.two-col-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

/* Responsive */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-grid,
  .about-grid,
  .plan-split,
  .project-showcase,
  .two-col-content {
    grid-template-columns: 1fr;
  }
  .search-card {
    grid-template-columns: 1fr 1fr;
  }
  .stats-row,
  .amenity-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .card-grid-3,
  .pricing-grid,
  .team-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: var(--shadow);
    display: none;
    padding: 16px;
  }
  .main-nav.is-open {
    display: block;
  }
  .main-nav ul {
    flex-direction: column;
    gap: 0;
  }
  .main-nav a {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
  }
  .header-actions .btn {
    display: none;
  }
  .search-card {
    grid-template-columns: 1fr;
  }
  .card-grid-3,
  .pricing-grid,
  .team-grid,
  .stats-row,
  .amenity-grid {
    grid-template-columns: 1fr;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .about-images .sub-img {
    position: static;
    width: 70%;
    margin: -40px auto 0;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .price-card.featured {
    transform: none;
  }
}
