﻿* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
  background: #f3f5fb;
  color: #1f2933;
}

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

.header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(8, 32, 66, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.4);
  padding: 0.75rem 5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  font-weight: 700;
  color: #ffc107;
  text-align: center;
  font-family: "Playfair Display", "Times New Roman", serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-style: italic;
}

.logo-mark {
  height: 48px;
  width: auto;
  display: block;
}

.nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.5rem;
  margin-left: 0;
  text-decoration: none;
  color: #e5e7eb;
  font-size: 0.95rem;
  font-weight: 500;
}

.nav a:hover {
  color: #fbbf24;
}

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

.nav a + a {
  border-left: 1px solid rgba(229, 231, 235, 0.45);
  padding-left: 0.9rem;
}

.hero {
  position: relative;
  min-height: 70vh;
  width: 100%;
  padding: 4.5rem 5vw;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url("../img/izumi-canaria-namlong.jpg") center / cover no-repeat;
  color: #ffffff;
}

.hero-content {
  background: transparent;
  box-shadow: none;
  padding: 0;
}

.hero-buttons {
  position: fixed;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: stretch;
}

.hero-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.1rem;
  background: #ffffff;
  color: #0068ff;
  border-radius: 999px;
  border: 1px solid #dbeafe;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 18px 32px rgba(0, 104, 255, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.hero-button-icon {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.hero-button:hover {
  background: #f2f6ff;
  color: #0057d9;
  box-shadow: 0 18px 36px rgba(0, 87, 217, 0.35);
  transform: translateY(-1px);
}

.hero-button--hotline {
  background: #ffffff;
  color: #0068ff;
  border-color: #dbeafe;
  box-shadow: 0 18px 32px rgba(0, 104, 255, 0.25);
}

.hero-button--hotline:hover {
  background: #f2f6ff;
  color: #0057d9;
  box-shadow: 0 18px 36px rgba(0, 87, 217, 0.35);
}

@media (max-width: 640px) {
  .hero-buttons {
    top: auto;
    bottom: 20px;
    right: 16px;
    transform: none;
    align-items: flex-end;
  }
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2.5rem;
  align-items: stretch;
  max-width: 1120px;
  margin: 0 auto;
}

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

.hero-image img {
  border-radius: 12px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section {
  padding: 3rem 5vw;
}

.section h2 {
  font-size: 1.7rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.section-full-image {
  padding: 0;
}

.full-section-image {
  width: 100%;
  max-width: 100%;
  display: block;
  border-radius: 0;
}
.vi-tri-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
}

.vi-tri-text h2 {
  text-align: left;
  font-size: 1.9rem;
  margin-bottom: 1rem;
}

.vi-tri-text h2 span {
  color: #1e88e5;
}

.vi-tri-text p + p {
  margin-top: 0.75rem;
}

.vi-tri-image img {
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
  margin: 0 auto;
}

.feature-item {
  background: #ffffff;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
}

.feature-item h3 {
  margin-bottom: 0.5rem;
}

.projects {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.project-card {
  background: #ffffff;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
  position: relative;
}

.project-card ul {
  margin-top: 0.5rem;
  padding-left: 1.1rem;
}

.project-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: #ef5350;
  color: #fff;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  font-size: 0.75rem;
}

.section-muted {
  background: #e5edf9;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
}

.step {
  background: #ffffff;
  padding: 1.25rem;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: #1e88e5;
  color: #fff;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: flex-start;
}

.contact-info ul {
  margin-top: 0.5rem;
  padding-left: 1.1rem;
}

.contact-form {
  background: #ffffff;
  padding: 1.75rem;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
  display: grid;
  gap: 0.75rem;
}

input,
textarea,
button {
  font-size: 0.95rem;
}

input,
textarea {
  width: 100%;
  padding: 0.6rem 0.9rem;
  border-radius: 999px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: #f59e0b;
  box-shadow: 0 0 0 1px rgba(245, 158, 11, 0.25);
}

button {
  border: none;
  border-radius: 6px;
  padding: 0.6rem 1rem;
  background: #1e88e5;
  color: #ffffff;
  cursor: pointer;
  font-weight: 600;
}

button:hover {
  background: #1565c0;
}

.form-result {
  font-size: 0.9rem;
}

.footer {
  text-align: center;
  padding: 1.25rem;
  background: #6e470e;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.9rem;
  color: #f8fafc;
}

.section-video {
  text-align: center;
}

.video-wrapper {
  max-width: 960px;
  margin: 0 auto 1rem;
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
}

.video-thumb {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  filter: brightness(0.85);
  transition: transform 0.35s ease, filter 0.35s ease;
}

.video-play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.95);
  color: #fbbf24;
  font-size: 1.7rem;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.55);
  cursor: pointer;
}

.video-placeholder:hover .video-thumb {
  transform: scale(1.05);
  filter: brightness(1);
}

.video-placeholder:hover .video-play-button {
  background: #fbbf24;
  color: #111827;
}

.video-note {
  font-size: 0.85rem;
  color: #666;
  text-align: center;
}

.house-section .house-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 1.5rem;
  align-items: flex-start;
}

.house-section h3 {
  margin-bottom: 0.5rem;
}

.house-section ul {
  margin-top: 0.5rem;
  padding-left: 1.1rem;
}

#mau-nha-1 {
  background: #f8fafc;
}

#mau-nha-2 {
  background: #fff7ea;
}

#mau-nha-3 {
  background: #f3f7ff;
}

#biet-thu-sd1 {
  background: #f7f3ff;
}

.section-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.section-subtitle {
  color: #4b5563;
  font-size: 1rem;
  margin-top: 0.35rem;
}

.house-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 1.5rem;
  align-items: stretch;
}

.section-logos {
  background: #1a1449;
  color: #e5e7eb;
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
  align-items: center;
}

.logo-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: #24356f;
  border: 1px solid #ffffff;
  border-radius: 5px;
}

.logo-cell img {
  max-height: 72px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.25));
}

.logo-note {
  text-align: left;
  line-height: 1.5;
  font-weight: 600;
  color: #f8fafc;
}

.house-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
}

.house-tabs {
  background: #ffffff;
  border-radius: 12px;
  padding: 1.25rem;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
}

.tab-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.tab-button {
  padding: 0.6rem 1rem;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  color: #0f172a;
  cursor: pointer;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.tab-button.active {
  background: #1e88e5;
  color: #ffffff;
  border-color: #1565c0;
  box-shadow: 0 10px 25px rgba(30, 136, 229, 0.25);
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
}

.tab-pane img {
  border-radius: 10px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

/* Responsive */
@media (max-width: 900px) {
  .house-layout {
    grid-template-columns: 1fr;
  }

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

  .hero-content {
    max-width: 100%;
  }

  .hero-image img {
    height: auto;
  }

  .features,
  .projects,
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .vi-tri-grid {
    grid-template-columns: 1fr;
  }

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

  .house-section .house-grid {
    grid-template-columns: 1fr;
  }

  .logo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .hero {
    min-height: 200px;
    max-height: 200px;
  }

  .nav {
    margin-top: 0.5rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  .nav a {
    margin: 0;
  }

  .nav a[href="#vi-tri"],
  .nav a[href="#video"],
  .nav a[href="#tien-ich"] {
    display: none;
  }

  .logo-mark {
    height: 40px;
  }

  .features,
  .projects,
  .steps {
    grid-template-columns: 1fr;
  }

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

  .hero {
    padding: 2.25rem 5vw;
  }

  .hero h1 {
    font-size: 1.6rem;
  }
}




