:root {
  color: #12213a;
  background: #f5f7fa;
  font: 16px/1.55 system-ui, -apple-system, "Segoe UI", sans-serif;
  --blue: #244d98;
  --navy: #0e2343;
  --muted: #4c6079;
  --line: #dbe3ee;
  --gutter: clamp(16px, 4vw, 58px);
  --frame: 1240px;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: var(--blue); }
img { display: block; max-width: 100%; }
:focus-visible { outline: 3px solid #3878d4; outline-offset: 4px; }
.skip { position: absolute; z-index: 1; padding: 10px; background: white; transform: translateY(-150%); }
.skip:focus { transform: translateY(0); }
.header, main, footer { width: min(calc(100% - var(--gutter) * 2), var(--frame)); margin-inline: auto; }
.header { min-height: 99px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo { width: 202px; height: auto; }
nav { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; }
nav a { text-decoration: none; }
.header nav a { padding: 8px 15px; border-radius: 8px; font-size: 14px; font-weight: 650; color: var(--navy); }
.header nav a:hover, .header nav a[aria-current] { color: var(--blue); background: #e7eef9; }
.hero { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); overflow: hidden; border-radius: 22px; background: var(--navy); color: white; }
.hero-copy { padding: clamp(30px, 4vw, 58px); align-self: center; container-type: inline-size; }
.eyebrow { margin: 0 0 10px; text-transform: uppercase; font-size: .74rem; font-weight: 750; letter-spacing: .13em; color: var(--blue); }
.hero .eyebrow { color: #b8cff5; }
h1, h2, h3 { line-height: 1.16; }
h1 { font-size: clamp(2.6rem, 6vw, 5.15rem); margin: 0; letter-spacing: -.062em; }
.hero h1 { font-size: clamp(1.8rem, 15cqi, 4.75rem); }
.hero-copy > p:not(.eyebrow) { color: #d9e5f6; margin: 20px 0 25px; max-width: 29ch; }
.hero-photo { min-height: 365px; background: #354963 url("banner.jpg") 35% center / cover no-repeat; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 16px; padding: 11px 17px; border-radius: 9px; border: 0; background: var(--blue); color: white; font: inherit; font-size: 14px; font-weight: 700; text-decoration: none; cursor: pointer; }
.button:hover { background: #17366d; }
.button-light { background: white; color: var(--navy); }
.button-light:hover { background: #deebff; }
.services { margin: 48px 0; }
.services h2, .cta h2 { margin: 0 0 20px; font-size: clamp(1.65rem, 3vw, 2.3rem); letter-spacing: -.045em; }
.service-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; }
.service-grid article { background: white; border: 1px solid var(--line); border-radius: 13px; padding: 18px; }
.service-grid span { display: inline-grid; place-items: center; width: 32px; height: 32px; color: var(--blue); background: #e7eef9; border-radius: 8px; font-size: 12px; font-weight: 750; }
.service-grid h3 { margin: 14px 0 0; font-size: 1rem; }
.cta { background: #e8eef7; padding: clamp(20px, 4vw, 40px); border-radius: 17px; }
.cards { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.cards > div { background: white; border-radius: 12px; padding: 16px; }
.cards img { width: 34px; height: 34px; object-fit: contain; }
.cards h3 { font-size: 1rem; overflow-wrap: anywhere; margin: 12px 0; }
.cards .button { background: #e7eef9; color: var(--blue); }
.cards .button:hover { background: #d6e5fa; }
.page-intro { background: #e8eef7; border-radius: 18px; padding: clamp(24px, 5vw, 62px); }
.page-intro h1 { color: var(--navy); font-size: clamp(2.6rem, 6vw, 4.7rem); }
.page-intro p:last-child { color: var(--muted); margin-bottom: 0; }
.gallery { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; margin: 24px 0; }
.gallery a { display: block; overflow: hidden; border-radius: 12px; background: #e8eef7; }
.gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.page-bayashop .gallery img { object-fit: contain; }
.page-fotos .gallery { margin-bottom: 40px; }
.order { margin: 22px 0 40px; }
.contact { margin: 24px 0 40px; }
.columns { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 16px; align-items: start; }
.columns > div { padding: clamp(16px, 3vw, 30px); background: white; border: 1px solid var(--line); border-radius: 13px; }
.columns h2 { margin: 0 0 15px; font-size: 1.25rem; }
address { font-style: normal; }
form label { display: block; margin: 14px 0; font-size: .9rem; font-weight: 650; }
form input, form select, form textarea { display: block; width: 100%; padding: 10px; margin-top: 4px; border: 1px solid #a8b7ca; border-radius: 7px; font: inherit; color: inherit; background: white; }
footer { padding: 26px 0 34px; font-size: .88rem; color: var(--muted); }
.footer-links { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; }
.footer-links nav { gap: 14px; }
footer p { border-top: 1px solid var(--line); margin: 15px 0 0; padding-top: 15px; }
@media (max-width: 800px) {
  .hero { grid-template-columns: 1fr; }
  .hero-photo { min-height: clamp(145px, 41vw, 290px); }
  .service-grid, .gallery { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 560px) {
  .header { flex-direction: column; justify-content: center; padding: 16px 0; gap: 10px; }
  .logo { width: 170px; }
  .header nav { justify-content: center; }
  .header nav a { padding: 6px 9px; font-size: 13px; }
  .columns, .cards { grid-template-columns: 1fr; }
  .service-grid article { padding: 12px; overflow-wrap: anywhere; }
}

.hero h1 { font-size: clamp(1.65rem, 10.5cqi, 3.65rem); overflow-wrap: anywhere; }
.hero-copy > .slogan { font-weight: 700; }
.service-grid p, .field-note p:not(.eyebrow), .order p, .field-help { color: var(--muted); }
.service-grid p { margin-bottom: 0; font-size: .92rem; }
.service-grid h3 { margin-top: 0; }
.field-note { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); align-items: center; gap: clamp(16px, 4vw, 44px); margin: 0 0 36px; background: white; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.field-note img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; }
.field-note > div { padding: 16px 24px; }
.field-note h2, .order h2 { margin: 0; }
.gallery figure { margin: 0; }
.gallery figcaption { padding: 8px 0 4px; font-size: .875rem; color: var(--muted); }
.order { padding: 24px; background: white; border: 1px solid var(--line); border-radius: 13px; }
.field-help { font-size: .88rem; margin: 0 0 8px; }
#mail-form button { margin-top: 14px; }
@media (max-width: 560px) {
  .field-note { grid-template-columns: 1fr; gap: 0; }
}
