/* ===== Variables ===== */
:root {
  --navy: #0a1f44;
  --navy-light: #132d5e;
  --gold: #c9a227;
  --gold-light: #dbb84a;
  --white: #ffffff;
  --off-white: #f8f7f4;
  --gray: #6b7280;
  --gray-light: #e5e7eb;
  --shadow: 0 4px 24px rgba(10, 31, 68, 0.12);
  --radius: 8px;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', system-ui, sans-serif;
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  color: var(--navy);
  background: var(--white);
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  width: min(1100px, 92%);
  margin-inline: auto;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  cursor: pointer;
  border: 2px solid transparent;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold {
  background: var(--gold);
  color: var(--navy);
  box-shadow: 0 4px 14px rgba(201, 162, 39, 0.35);
}
.btn-gold:hover { background: var(--gold-light); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.btn-full { width: 100%; }

/* ===== Logo ===== */
.logo {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -1px;
}
.logo-d { color: var(--navy); }
.logo-g { color: var(--gold); }
.hero .logo-d { color: var(--white); }

.gold { color: var(--gold); }

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--gray-light);
}
.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 1rem 0;
}
.nav-links {
  display: flex;
  gap: 2rem;
  margin-left: auto;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--navy);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--gold); }
.nav-cta { margin-left: 0.5rem; }
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  transition: 0.3s;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 60%, #1a3a6b 100%);
  z-index: -1;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 80% 50%, rgba(201,162,39,0.15) 0%, transparent 60%),
    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='%23c9a227' fill-opacity='0.04'%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");
}
.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding-block: 4rem;
}
.hero-label {
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 0.5rem;
}
.hero-tagline {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 1rem;
}
.hero-values {
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 2rem;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-card {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
  transform: perspective(800px) rotateY(-5deg);
  transition: transform 0.4s;
}
.hero-card:hover { transform: perspective(800px) rotateY(0deg); }
.hero-card img { width: 100%; }

/* ===== Sections ===== */
.section { padding: 5rem 0; }
.section-header { text-align: center; margin-bottom: 3rem; }
.section-header h2 {
  font-family: var(--font-serif);
  font-size: 2.25rem;
  color: var(--navy);
}
.divider {
  width: 60px;
  height: 3px;
  background: var(--gold);
  margin: 1rem auto 0;
}

/* ===== About ===== */
.about { background: var(--off-white); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.quote {
  border-left: 4px solid var(--gold);
  padding: 1.5rem 2rem;
  background: var(--white);
  border-radius: 0 var(--radius) var(--radius) 0;
  box-shadow: var(--shadow);
}
.quote p {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-style: italic;
  color: var(--navy-light);
  line-height: 1.5;
}
.about-details p { color: var(--gray); margin-bottom: 1.5rem; }
.about-list li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: var(--navy);
}
.about-list li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--gold);
}

/* ===== Qualifications ===== */
.qual-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.qual-card {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--off-white);
  border-radius: var(--radius);
  border: 1px solid var(--gray-light);
  transition: transform 0.2s, box-shadow 0.2s;
}
.qual-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.qual-icon { font-size: 2rem; display: block; margin-bottom: 1rem; }
.qual-card h3 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  margin-bottom: 0.25rem;
}
.qual-card p { font-size: 0.85rem; color: var(--gray); }

/* ===== Contact ===== */
.contact { background: var(--off-white); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: start;
}
.contact-info h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}
.contact-info > p { color: var(--gray); margin-bottom: 2rem; }
.contact-list li { margin-bottom: 1.25rem; }
.contact-list strong {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gold);
  margin-bottom: 0.25rem;
}
.contact-list a { color: var(--navy); transition: color 0.2s; }
.contact-list a:hover { color: var(--gold); }
.contact-list span { color: var(--gray); }
.whatsapp-btn { margin-top: 1.5rem; }

.contact-form {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--navy);
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--gray-light);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  background: var(--off-white);
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,162,39,0.15);
  background: var(--white);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-note {
  font-size: 0.75rem;
  color: var(--gray);
  text-align: center;
  margin-top: 1rem;
}

/* ===== Footer ===== */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  padding: 2rem 0;
}
.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-brand .logo { font-size: 1.5rem; }
.footer-brand .logo-d { color: var(--white); }
.footer-brand p {
  font-size: 0.75rem;
  letter-spacing: 1px;
  margin-top: 0.25rem;
}
.footer-copy { font-size: 0.85rem; }
.footer-whatsapp {
  color: var(--gold);
  transition: transform 0.2s;
}
.footer-whatsapp:hover { transform: scale(1.15); }

/* ===== Mobile Nav ===== */
@media (max-width: 768px) {
  .menu-toggle { display: flex; margin-left: auto; }
  .nav-links, .nav-cta { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 1.5rem 2rem;
    box-shadow: var(--shadow);
    gap: 1rem;
  }
  .nav.open .nav-cta {
    display: inline-flex;
    position: absolute;
    top: calc(100% + 200px);
    left: 2rem;
  }
  .hero-content { grid-template-columns: 1fr; text-align: center; }
  .hero-actions { justify-content: center; }
  .hero-visual { order: -1; max-width: 400px; margin-inline: auto; }
  .hero-card { transform: none; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .qual-cards { grid-template-columns: repeat(2, 1fr); }
  .footer-content { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .qual-cards { grid-template-columns: 1fr; }
}
