/*
Theme Name: Daniela de Vela
Description: Landing bilingüe de Daniela Banaszkiewicz de Vela. Español y polaco, con contacto directo en Guatemala.
Version: 1.0.0
Text Domain: daniela-de-vela
*/

:root {
  --ink: #243b6c;
  --muted: #565b64;
  --coral: #af574a;
  --paper: #faf6ed;
  --panel: #f2ebdf;
  --rule: #d9d0c1;
  --serif: 'Baskervville', 'Baskerville', 'Times New Roman', serif;
  --sans: 'DM Sans', 'Helvetica Neue', Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.5 var(--sans); }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--coral); outline-offset: 5px; }
button { font: inherit; }
.symbols { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 1.3rem; height: 1.3rem; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.container { width: min(86.5%, 77rem); margin-inline: auto; }
.skip { position: absolute; top: .5rem; left: .5rem; z-index: 3; background: var(--ink); color: white; padding: .75rem 1rem; transform: translateY(-160%); }
.skip:focus { transform: none; }
header { border-bottom: 1px solid var(--rule); }
.header-inner { min-height: 6.4rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; }
.brand img { width: 11.4rem; height: auto; display: block; }
nav { display: flex; align-items: center; gap: 2.2rem; }
.nav-link { padding: .65rem .08rem; position: relative; font-size: .94rem; }
.nav-link::after { position: absolute; left: 0; right: 0; bottom: .38rem; height: 1.5px; background: var(--coral); content: ''; transform: scaleX(0); transition: transform .2s; }
.nav-link:hover::after, .nav-link.current::after { transform: scaleX(1); }
.language-switch { display: flex; position: relative; border: 1px solid #cbc5b8; padding: 3px; border-radius: 2rem; margin-left: .4rem; }
.language-switch button { border-radius: 2rem; border: 0; min-width: 2.45rem; min-height: 2rem; background: transparent; color: var(--ink); font-size: .8rem; font-weight: 600; cursor: pointer; }
.language-switch button[aria-pressed=true] { background: var(--ink); color: white; }
.language-switch button[aria-pressed=false]:hover { background: #e6dfd3; }
.hero { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: clamp(1rem, 4vw, 4.3rem); padding-block: clamp(3.2rem, 4.7vw, 5.2rem) clamp(3.7rem, 5.3vw, 5.8rem); }
.eyebrow { display: flex; gap: .7rem; align-items: center; color: var(--coral); font-size: .77rem; font-weight: 700; text-transform: uppercase; letter-spacing: .17em; }
.eyebrow::before { content: ''; width: 2rem; height: 1px; background: var(--coral); margin-right: .1rem; }
.pair-mark { font-weight: 400; opacity: .8; }
h1, h2 { font-family: var(--serif); font-weight: 400; margin: 0; }
h1 { font-size: clamp(4rem, 6.95vw, 6.8rem); line-height: .95; letter-spacing: -.052em; margin: 1.25rem 0 1.45rem -.047em; }
h1 span, h1 em { display: block; }
h1 span:empty { display: none; }
h1 em { color: var(--coral); font-weight: 400; }
.intro { max-width: 27rem; margin: 0; font-size: clamp(1.04rem, 1.35vw, 1.18rem); line-height: 1.58; color: var(--muted); text-wrap: pretty; }
.intro strong { color: var(--ink); font-weight: 600; }
.hero-buttons { display: flex; gap: 1.65rem; flex-wrap: wrap; align-items: center; margin-top: 1.85rem; }
.button, .mail-link { display: inline-flex; align-items: center; justify-content: center; gap: .57rem; font-size: .94rem; font-weight: 550; min-height: 3.12rem; }
.button { background: var(--ink); padding: .85rem 1.33rem; border-radius: 5px; color: white; transition: background-color .2s; }
.button:hover { background: #354e7c; }
.mail-link .icon { width: 1.12rem; height: 1.12rem; }
.mail-link span { border-bottom: 1px solid #8793a9; line-height: 1.4; }
.mail-link:hover { color: var(--coral); }
.hero-art { width: min(100%, 32.5rem); justify-self: center; aspect-ratio: 1; position: relative; isolation: isolate; background: var(--paper); }
.hero-art img { display: block; width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; filter: url(#paper-tone); }
.contact { padding-block: 2.35rem 2.8rem; border-block: 1px solid var(--rule); background: var(--panel); }
.section-title { display: flex; align-items: center; gap: 1.7rem; margin-bottom: 1.45rem; }
.section-title h2 { font-size: clamp(2.1rem, 3.2vw, 3.05rem); line-height: 1.1; letter-spacing: -.045em; }
.section-title > span { flex: 1; height: 1px; background-color: var(--rule); }
.location { display: flex; align-items: center; gap: .4rem; color: var(--muted); font-size: .88rem; }
.location .icon { color: var(--coral); height: 1.05rem; width: 1.05rem; }
.channels { display: grid; grid-template-columns: .92fr 1.23fr .95fr; gap: 1rem; }
.channel { min-width: 0; display: flex; align-items: center; gap: .95rem; padding: 1.24rem clamp(.85rem, 1.8vw, 1.6rem); border-radius: 5px; background: var(--paper); border: 1px solid var(--rule); transition: border-color .2s, background-color .2s; }
.channel:hover { background: #fffaf2; border-color: #b99b86; }
.channel-symbol { display: grid; place-items: center; height: 2.55rem; width: 2.55rem; border-radius: 50%; background: #f0e4d9; color: var(--coral); flex-shrink: 0; }
.channel-symbol .icon { width: 1.2rem; height: 1.2rem; }
.channel-title { display: block; font-size: .81rem; color: var(--muted); margin-bottom: .17rem; }
.channel-value { display: block; line-height: 1.4; font-size: 1rem; overflow-wrap: anywhere; }
.footer-inner { min-height: 5.2rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; font-size: .85rem; color: var(--muted); }
.footer-inner a:hover { color: var(--ink); text-decoration: underline; }
@media (min-width: 1600px) { .hero { gap: 5rem; } }
@media (max-width: 1000px) {
  .container { width: 90%; }
  nav { gap: 1.5rem; }
  .hero { gap: 1.3rem; }
  .hero-buttons { gap: .65rem 1.1rem; }
  .channel { padding-inline: .9rem; gap: .65rem; }
  .channel-symbol { width: 2rem; height: 2rem; }
  .channels { gap: .55rem; }
}
@media (max-width: 760px) {
  .header-inner { min-height: 5.1rem; }
  .brand img { width: 9rem; }
  .hero { grid-template-columns: 1fr; padding-block: 2.85rem 2.3rem; gap: 2rem; }
  h1 { font-size: clamp(3.7rem, 10.5vw, 5rem); line-height: .97; }
  .hero-copy { width: min(100%, 33rem); justify-self: center; }
  .hero-art { width: min(83%, 23rem); }
  .channels { grid-template-columns: 1fr; gap: .6rem; }
  .contact { padding-block: 1.9rem 2.1rem; }
  .channel { padding: .95rem 1.1rem; gap: 1rem; }
  .channel-symbol { width: 2.4rem; height: 2.4rem; }
  .section-title { gap: .8rem; margin-bottom: 1.1rem; }
}
@media (max-width: 530px) {
  .container { width: 88.5%; }
  .brand img { width: 7.8rem; }
  nav { gap: .75rem; }
  nav .nav-link:first-child { display: none; }
  .nav-link { font-size: .88rem; }
  .language-switch { margin-left: 0; }
  .language-switch button { min-width: 2rem; min-height: 1.9rem; }
  .hero-buttons { gap: .65rem 1rem; }
  .button, .mail-link { font-size: .88rem; }
  .button { padding-inline: 1rem; }
  .footer-inner { flex-wrap: wrap; justify-content: flex-start; gap: .3rem 1rem; padding-block: 1.3rem; }
}
@media (max-width: 360px) {
  .container { width: 91%; }
  .brand img { width: 6.65rem; }
  .hero-buttons { gap: .3rem .9rem; }
  .button, .mail-link { font-size: .83rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
