:root{
  --bg:#ffffff;
  --text:#111111;
  --muted:#565656;
  --line:#e9e9e9;

  /* Teal similar a la captura */
  --brand:#10a89e;
  --brand-dark:#0b7f78;

  --shadow:0 18px 50px rgba(0,0,0,.08);
  --container:1120px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--text);
  background:var(--bg);
  line-height:1.45;
}

img{max-width:100%; display:block}
a{color:inherit; text-decoration:none}

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

/* Header */
.header{
  position:sticky;
  top:0;
  z-index:50;
  background:rgba(255,255,255,.92);
  backdrop-filter:saturate(180%) blur(10px);
  border-bottom:1px solid var(--line);
}

.header-inner{
  height:86px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
}

.brand-logo{
  height:48px;   /* proba 44 / 48 / 52 */
  width:auto;
}


.nav{
  display:flex;
  align-items:center;
  gap:26px;
}

.nav-link{
  font-size:14px;
  color:#222;
  opacity:.85;
}
.nav-link:hover{opacity:1}

.nav-toggle{
  display:none;
  width:44px;height:44px;
  border:1px solid var(--line);
  border-radius:12px;
  background:#fff;
  cursor:pointer;
}
.nav-toggle span{
  display:block;
  width:18px;height:2px;
  background:#111;
  margin:4px auto;
  border-radius:2px;
}

/* Hero */
.hero{
  padding:64px 0 30px;
}

.hero-grid{
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap:46px;
  align-items:center;
}

.hero-title{
  font-size:54px;
  line-height:1.02;
  margin:0 0 18px;
  letter-spacing:-.02em;
}

.hero-lead{
  max-width:520px;
  color:var(--muted);
  font-size:15px;
  margin:0 0 26px;
}

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

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:13px 20px;
  border-radius:999px;
  border:1px solid transparent;
  font-size:14px;
  cursor:pointer;
  transition: transform .12s ease, background .12s ease, border-color .12s ease;
  user-select:none;
}
.btn:active{transform:translateY(1px)}

.btn-primary{
  background:var(--brand);
  color:#fff;
}
.btn-primary:hover{background:var(--brand-dark)}

.hero-media{
  display:flex;
  justify-content:flex-end;
}

.hero-card{
  position:relative;
  width:min(520px, 100%);
  border-radius:28px;
  overflow:hidden;
  box-shadow:var(--shadow);
}

.hero-img{
  width:100%;
  height:440px;
  object-fit:cover;
}

.hero-badge{
  position:absolute;
  left:50%;
  bottom:-64px;
  transform:translateX(-50%);
  width:180px;
  height:180px;
  border-radius:999px;
  background:#fff;
  display:grid;
  place-items:center;
  box-shadow:0 22px 70px rgba(0,0,0,.12);
}

.hero-badge-logo{
  width:110px;
  height:auto;
  opacity:.95;
}

/* Sections */
.section{
  padding:88px 0;
}

.section-alt{
  background:#fafafa;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}

.section-head{
  max-width:760px;
  margin:0 auto 42px;
}

.center{text-align:center}
.left{text-align:left}

.section-title{
  margin:0 0 12px;
  font-size:34px;
  letter-spacing:-.02em;
}

.section-sub{
  margin:0 auto;
  color:var(--muted);
  font-size:14px;
  max-width:680px;
}

/* Cards 3 */
.cards-3{
  margin-top:34px;
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:32px;
}

.card{
  padding:22px 22px 24px;
  border-radius:22px;
}

.icon{
  width:44px;height:44px;
  display:grid;
  place-items:center;
  margin:0 auto 14px;
  color:#2a2012;
  opacity:.9;
}
.icon svg{fill:none; stroke:currentColor; stroke-width:2}

.card-title{
  margin:0 0 8px;
  text-align:center;
  font-size:15px;
}

.card-text{
  margin:0;
  text-align:center;
  color:var(--muted);
  font-size:13px;
  line-height:1.6;
}

.mt-40{margin-top:40px}

/* Split */
.split{
  display:grid;
  grid-template-columns: .95fr 1.05fr;
  gap:56px;
  align-items:center;
}

.oval{
  width:min(520px, 100%);
  margin:0 auto;
  border-radius:999px;
  overflow:hidden;
  box-shadow:var(--shadow);
}
.oval img{
  width:100%;
  height:520px;
  object-fit:cover;
}

.list{
  margin-top:22px;
  display:grid;
  gap:12px;
  max-width:520px;
}
.pill{
  display:flex;
  gap:12px;
  align-items:baseline;
  padding:14px 16px;
  border:1px solid var(--line);
  background:#fff;
  border-radius:16px;
}
.pill strong{font-size:13px}
.pill span{color:var(--muted); font-size:13px}

/* Clients */
.clients-wrap{
  margin-top:28px;
  display:flex;
  justify-content:center;
}
.clients-img{
  width:min(820px, 100%);
  height:auto;
  opacity:.9;
}

/* Contact */
.contact-grid{
  margin-top:44px;
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:44px;
  align-items:stretch;
}

.field{
  display:block;
  margin-bottom:18px;
}
.field span{
  display:block;
  font-size:13px;
  margin-bottom:8px;
}

input, textarea{
  width:100%;
  padding:12px 12px;
  border:1px solid #111;
  border-radius:2px;
  outline:none;
  font-size:14px;
  background:#fff;
}
textarea{resize:vertical}

.form-actions{
  display:flex;
  align-items:center;
  gap:14px;
  flex-wrap:wrap;
}
.form-note{
  margin:0;
  font-size:13px;
  color:var(--muted);
}

.contact-card{
  border-radius:24px;
  overflow:hidden;
  box-shadow:var(--shadow);
}
.contact-card img{
  width:100%;
  height:520px;
  object-fit:cover;
}

/* Footer */
.footer{
  padding:34px 0;
  border-top:1px solid var(--line);
  background:#fff;
}
.footer-inner{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:18px;
}
.footer-brand{font-weight:650}
.footer-small{color:var(--muted); font-size:13px; margin-top:4px}
.footer-right{
  display:flex;
  gap:18px;
  flex-wrap:wrap;
}
.footer-link{
  color:#222;
  font-size:13px;
  opacity:.8;
}
.footer-link:hover{opacity:1}

.to-top{
  position:fixed;
  right:18px;
  bottom:18px;
  width:44px;height:44px;
  border-radius:999px;
  background:#fff;
  border:1px solid var(--line);
  display:grid;
  place-items:center;
  box-shadow:0 16px 40px rgba(0,0,0,.12);
  opacity:.92;
}

/* Reveal */
[data-reveal]{
  transform:translateY(12px);
  opacity:0;
  transition: transform .5s ease, opacity .5s ease;
}
.revealed{
  transform:translateY(0);
  opacity:1;
}

/* Responsive */
@media (max-width: 980px){
  .hero-grid{grid-template-columns:1fr; gap:26px}
  .hero-media{justify-content:flex-start}
  .hero-img{height:380px}
  .hero-title{font-size:44px}
  .cards-3{grid-template-columns:1fr; gap:14px}
  .split{grid-template-columns:1fr; gap:26px}
  .oval img{height:420px}
  .contact-grid{grid-template-columns:1fr; gap:22px}
  .contact-card img{height:420px}
}

@media (max-width: 720px){
  .nav-toggle{display:block}
  .nav{
    position:fixed;
    top:86px;
    left:0; right:0;
    background:#fff;
    border-bottom:1px solid var(--line);
    padding:14px 24px;
    display:none;
    flex-direction:column;
    gap:14px;
  }
  .nav.open{display:flex}
  .hero{padding-top:34px}
  .hero-title{font-size:38px}
}

/* =========================
   CONTACT FORM (PRETTY)
   ========================= */

:root{
  --field-bg:#ffffff;
  --field-border:#d9d9d9;
  --field-border-focus: color-mix(in srgb, var(--brand) 55%, #000 0%);
  --card-bg:#ffffff;
  --card-border:#efefef;
  --card-shadow: 0 18px 55px rgba(0,0,0,.10);
}

.section-alt #contact .section-head{
  margin-bottom: 34px;
}

.contact-grid{
  gap: 34px;
  align-items: start;
}

/* Form Card */
.form{
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 22px;
  padding: 26px;
  box-shadow: var(--card-shadow);
}

/* Labels */
.field span{
  font-size: 13px;
  color: #222;
  margin-bottom: 8px;
}

/* Inputs */
input, textarea{
  border: 1px solid var(--field-border);
  border-radius: 14px;
  padding: 13px 14px;
  font-size: 14px;
  background: var(--field-bg);
  transition: border-color .15s ease, box-shadow .15s ease, transform .08s ease;
}

/* Placeholder */
input::placeholder, textarea::placeholder{
  color: #9a9a9a;
}

/* Focus */
input:focus, textarea:focus{
  border-color: var(--field-border-focus);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 18%, transparent);
}

/* Slight hover */
input:hover, textarea:hover{
  border-color: #cfcfcf;
}

/* Textarea nicer */
textarea{
  min-height: 160px;
  line-height: 1.5;
}

/* Button row */
.form-actions{
  margin-top: 10px;
  gap: 12px;
}

/* Button improved */
.form .btn-primary{
  padding: 12px 18px;
  border-radius: 999px;
  box-shadow: 0 14px 32px color-mix(in srgb, var(--brand) 28%, transparent);
}

/* Note style */
.form-note{
  color: #666;
}

/* Contact image card */
.contact-card{
  border-radius: 26px;
  border: 1px solid var(--card-border);
  box-shadow: var(--card-shadow);
}

/* Make image match height visually on desktop */
@media (min-width: 981px){
  .contact-card img{
    height: 560px;
  }
}

/* Better layout on mobile: form first, image second */
@media (max-width: 980px){
  .form{
    padding: 22px;
    border-radius: 20px;
  }
  input, textarea{
    border-radius: 12px;
  }
}

/* Tiny polish: reduce "square" feeling around fields */
.field{
  margin-bottom: 16px;
}
