*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --nav-bg:       #f7ebed;
  --hero-bg:      #622020;
  --section-light:#f7ebed;
  --section-dark: #2e1a0e;
  --footer-bg:    #3a1212;
  --accent:       #eb933a;
  --white:        #ffffff;
  --black:        #000000;
  --text-on-light:#1a0a0a;
  --text-muted:   #4a2020;
  --nav-height:   90px;
  --max-width:    1200px;
  --font: 'Inter', 'Helvetica Neue', Arial, sans-serif;
}
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--text-on-light); line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
.navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: var(--nav-bg); height: var(--nav-height); border-bottom: 1px solid rgba(98,32,32,0.08); }
.navbar-inner { max-width: var(--max-width); margin: 0 auto; padding: 0 40px; height: 100%; display: flex; align-items: center; justify-content: space-between; }
.navbar-logo img { height: 68px; width: auto; }
.navbar-right { display: flex; align-items: center; gap: 36px; }
.navbar-links { display: flex; gap: 28px; }
.navbar-links a { color: var(--text-on-light); font-size: 15px; font-weight: 400; transition: color 0.2s; }
.navbar-links a:hover, .navbar-links a.active { color: var(--accent); }
.lang-selector { position: relative; }
.lang-toggle { background: none; border: none; color: var(--text-on-light); font-family: var(--font); font-size: 14px; font-weight: 500; cursor: pointer; display: flex; align-items: center; gap: 4px; }
.lang-toggle::after { content: ' ▾'; font-size: 11px; }
.lang-dropdown { display: none; position: absolute; top: calc(100% + 8px); right: 0; background: var(--white); min-width: 130px; border: 1px solid rgba(98,32,32,0.15); border-radius: 4px; overflow: hidden; z-index: 10; box-shadow: 0 4px 12px rgba(0,0,0,0.08); }
.lang-selector:hover .lang-dropdown, .lang-selector.open .lang-dropdown { display: block; }
.lang-dropdown a { display: block; padding: 9px 16px; color: var(--text-on-light); font-size: 14px; transition: background 0.15s; }
.lang-dropdown a:hover { background: var(--nav-bg); }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger span { width: 24px; height: 2px; background: var(--text-on-light); }
.hero { margin-top: var(--nav-height); background: var(--hero-bg); color: var(--white); min-height: 52vh; display: flex; align-items: center; padding: 72px 40px; }
.hero-inner { max-width: var(--max-width); margin: 0 auto; width: 100%; }
.hero-text h1 { font-size: 66px; font-weight: 700; line-height: 0.77; color: var(--accent); margin-bottom: 18px; }
.hero-text h2 { font-size: 20px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--white); line-height: 0.77; margin-bottom: 10px; }
.hero-text h3 { font-size: 15px; font-weight: 300; letter-spacing: 4px; text-transform: uppercase; color: rgba(255,255,255,0.5); line-height: 0.77; }
/* H2 con hipervínculo en home (Acerca del estudio / Nuestros Servicios): preserva diseño, solo cursor + tinte sutil al hover */
.section .col-text h2 a { color: inherit; text-decoration: none; cursor: pointer; transition: opacity .2s; }
.section .col-text h2 a:hover { opacity: 0.78; }
.section { padding: 80px 40px; }
.section-inner { max-width: var(--max-width); margin: 0 auto; }
.section--light { background: var(--section-light); }
.section--white { background: var(--white); }
.section--dark  { background: var(--section-dark); color: var(--white); }
.grid-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.grid-2col--reverse .col-text { order: 1; }
.grid-2col--reverse .col-image { order: 2; }
.col-text .label { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 2px; color: var(--accent); margin-bottom: 10px; }
.col-text h2 { font-size: 32px; font-weight: 700; margin-bottom: 20px; color: var(--text-on-light); }
.section--dark .col-text h2 { color: var(--white); }
.col-text p { font-size: 15px; color: var(--text-muted); margin-bottom: 14px; line-height: 1.75; }
.section--dark .col-text p { color: rgba(255,255,255,0.82); }
.col-image img { width: 100%; height: 420px; object-fit: cover; }
.page-hero { margin-top: var(--nav-height); background: var(--hero-bg); color: var(--white); padding: 72px 40px; }
.page-hero-inner { max-width: var(--max-width); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.page-hero-text h1 { font-size: 40px; font-weight: 700; margin-bottom: 16px; color: var(--accent); }
.page-hero-text p { font-size: 15px; line-height: 1.75; color: rgba(255,255,255,0.82); margin-bottom: 20px; }
.page-hero-text .btn { display: inline-block; background: var(--accent); color: var(--white); padding: 11px 30px; font-size: 14px; font-weight: 600; border-radius: 4px; transition: opacity 0.2s; }
.page-hero-text .btn:hover { opacity: 0.85; }
.page-hero-image img { width: 100%; height: 380px; object-fit: cover; }
.principles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; margin-top: 28px; }
.principle-item h3 { font-size: 16px; font-weight: 600; margin-bottom: 10px; color: var(--text-on-light); }
.principle-item p { font-size: 14px; color: var(--text-muted); line-height: 1.7; }
.contact-hero { margin-top: var(--nav-height); background: var(--hero-bg); color: var(--white); padding: 60px 40px; text-align: center; }
.contact-hero h1 { font-size: 38px; font-weight: 700; color: var(--accent); margin-bottom: 8px; }
.contact-hero p { font-size: 15px; color: rgba(255,255,255,0.75); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 13px; font-weight: 500; margin-bottom: 6px; color: var(--text-muted); }
.form-group input, .form-group textarea { width: 100%; padding: 11px 14px; font-family: var(--font); font-size: 14px; border: 1px solid #d9c5c5; border-radius: 4px; background: var(--white); color: var(--text-on-light); outline: none; transition: border-color 0.2s; }
.form-group input::placeholder, .form-group textarea::placeholder { color: #b8a0a0; }
.form-group input:focus, .form-group textarea:focus { border-color: var(--accent); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: flex; gap: 16px; }
.form-row .form-group { flex: 1; }
.form-submit { display: block; margin: 0 auto; font-family: var(--font); font-size: 15px; font-weight: 600; background: var(--section-dark); color: var(--white); border: none; padding: 13px 48px; cursor: pointer; border-radius: 50px; transition: opacity 0.2s; }
.form-submit:hover { opacity: 0.85; }
.form-section { padding: 60px 40px; background: var(--white); }
.form-section-inner { max-width: 600px; margin: 0 auto; }
.form-section h2 { font-size: 30px; font-weight: 700; margin-bottom: 28px; text-align: center; color: var(--text-on-light); }
.footer { background: var(--footer-bg); color: rgba(255,255,255,0.65); padding: 48px 40px 24px; font-size: 13px; }
.footer-inner { max-width: var(--max-width); margin: 0 auto; display: grid; grid-template-columns: 200px 1fr 220px; gap: 48px; align-items: start; }
.footer-brand .brand-name { font-size: 20px; font-weight: 700; color: var(--accent); line-height: 0.77; }
.footer-map iframe { width: 100%; height: 180px; border: 0; border-radius: 4px; }
.footer-contact p, .footer-contact a { display: block; color: rgba(255,255,255,0.75); font-size: 13px; line-height: 2; transition: color 0.2s; }
.footer-contact a:hover { color: var(--white); }
.footer-social { display: flex; gap: 18px; margin-top: 16px; }
.footer-social a { color: rgba(255,255,255,0.7); font-size: 22px; transition: color 0.2s; line-height: 1; }
.footer-social a:hover { color: var(--white); }
.footer-bottom { max-width: var(--max-width); margin: 24px auto 0; padding-top: 14px; border-top: 1px solid rgba(255,255,255,0.12); font-size: 12px; color: rgba(255,255,255,0.38); }
/* Areas page */
.areas-hero { margin-top: var(--nav-height); background: var(--hero-bg); color: var(--white); padding: 64px 40px 56px; }
.areas-hero-inner { max-width: var(--max-width); margin: 0 auto; }
.areas-hero h1 { font-size: 48px; font-weight: 700; color: var(--accent); margin-bottom: 16px; }
.areas-hero p { font-size: 16px; color: rgba(255,255,255,0.82); max-width: 640px; line-height: 1.7; }
.areas-grid-section { padding: 0 40px 80px; }
.areas-grid { max-width: var(--max-width); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.area-block { padding: 44px 48px; border-bottom: 1px solid rgba(98,32,32,0.1); }
.area-block:nth-child(odd) { background: var(--white); border-right: 1px solid rgba(98,32,32,0.1); }
.area-block:nth-child(even) { background: var(--section-light); }
.area-block:nth-last-child(-n+2) { border-bottom: none; }
.area-block:last-child { border-right: none; }
.area-block-icon { font-size: 26px; color: var(--accent); margin-bottom: 14px; }
.area-block h2 { font-size: 20px; font-weight: 700; color: var(--text-on-light); margin-bottom: 12px; }
.area-block p { font-size: 14px; color: var(--text-muted); line-height: 1.75; margin-bottom: 20px; }
.area-link { display: inline-block; font-size: 13px; font-weight: 600; color: var(--accent); border-bottom: 2px solid var(--accent); padding-bottom: 2px; transition: opacity 0.2s; }
.area-link:hover { opacity: 0.7; }
.areas-cta { background: var(--hero-bg); padding: 72px 40px; text-align: center; }
.areas-cta h2 { font-size: 30px; font-weight: 700; color: var(--accent); margin-bottom: 14px; }
.areas-cta p { font-size: 15px; color: rgba(255,255,255,0.82); max-width: 560px; margin: 0 auto 32px; line-height: 1.7; }
.areas-cta-btn { display: inline-flex; align-items: center; gap: 10px; background: #25d366; color: var(--white); font-family: var(--font); font-size: 15px; font-weight: 600; padding: 14px 32px; border-radius: 50px; transition: opacity 0.2s, transform 0.2s; text-decoration: none; }
.areas-cta-btn:hover { opacity: 0.9; transform: scale(1.03); }
.areas-cta-btn i { font-size: 20px; }
/* WhatsApp float */
.whatsapp-float { position: fixed; bottom: 28px; right: 28px; z-index: 9999; background: #25d366; color: #fff; width: 58px; height: 58px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 28px; box-shadow: 0 4px 16px rgba(0,0,0,0.22); transition: transform 0.2s, box-shadow 0.2s; text-decoration: none; }
.whatsapp-float:hover { transform: scale(1.08); box-shadow: 0 6px 22px rgba(0,0,0,0.28); }
@media (max-width: 900px) { .hero-text h1 { font-size: 46px; } }
@media (max-width: 768px) {
  :root { --nav-height: 70px; }
  .navbar-inner { padding: 0 20px; }
  .navbar-links { display: none; }
  .navbar-links.open { display: flex; flex-direction: column; position: absolute; top: var(--nav-height); left: 0; right: 0; background: var(--nav-bg); padding: 16px 24px; gap: 14px; border-top: 1px solid rgba(98,32,32,0.1); }
  .hamburger { display: flex; }
  .hero { padding: 56px 20px; }
  .hero-text h1 { font-size: 36px; }
  .section { padding: 52px 20px; }
  .grid-2col, .page-hero-inner, .contact-grid, .footer-inner { grid-template-columns: 1fr; }
  .grid-2col--reverse .col-text { order: 1; }
  .grid-2col--reverse .col-image { order: 2; }
  .col-image img, .page-hero-image img { height: 260px; }
  .principles-grid { grid-template-columns: 1fr; }
  .form-row { flex-direction: column; gap: 0; }
  .areas-hero { padding: 48px 20px 40px; }
  .areas-hero h1 { font-size: 34px; }
  .areas-grid-section { padding: 0 0 60px; }
  .areas-grid { grid-template-columns: 1fr; }
  .area-block { border-right: none !important; border-bottom: 1px solid rgba(98,32,32,0.1) !important; padding: 36px 24px; }
  .area-block:last-child { border-bottom: none !important; }
  .areas-cta { padding: 56px 20px; }
  .areas-cta h2 { font-size: 24px; }
}
