/* =========================================================
   VARIABLES
========================================================= */

:root {
  --turquoise: #29D9E8;
  --black: #1A1A1A;
  --coral: #FF4D6D;
  --sand: #D9C6A3;
  --white: #F8F8F5;
  --ocean: #0D3B52;
  --gray: #777771;
  --line: rgba(26, 26, 26, .14);
}


/* =========================================================
   BASE
========================================================= */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--black);
  font-family: "Segoe UI", Arial, sans-serif;
  line-height: 1.55;
}

h1,
h2,
h3,
.label,
.brand strong {
  font-family: "Montserrat", "Segoe UI", sans-serif;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h2 {
  font-size: clamp(2.8rem, 5.7vw, 6rem);
  line-height: .96;
  letter-spacing: -.055em;
  margin-bottom: 40px;
}

section {
  padding: 100px 7vw;
}

.label {
  margin-bottom: 20px;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--gray);
}

.turquoise-text {
  color: var(--turquoise);
}

.coral-text {
  color: var(--coral);
}


/* =========================================================
   HEADER
========================================================= */

.topbar {
  height: 76px;
  padding: 0 6vw;

  display: flex;
  align-items: center;

  background: var(--black);
  color: var(--white);

  border-bottom: 1px solid rgba(255, 255, 255, .12);
}

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

.brand strong {
  display: block;
  font-size: .88rem;
  letter-spacing: .08em;
}

.brand small {
  display: block;
  color: rgba(255, 255, 255, .55);
  font-size: .72rem;
}


/* LOGO */

.brand-logo-box {
  width: 60px;
  height: 44px;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 5px;

  background: transparent;

  flex-shrink: 0;
}

.brand-logo {
  max-width: 150%;
  max-height: 150%;
  object-fit: contain;
}


/* =========================================================
   HERO
========================================================= */

.hero h1 {
  margin-bottom: 28px;

  font-size: clamp(4rem, 9.2vw, 8.8rem);
  line-height: .88;

  letter-spacing: -.065em;
  font-weight: 900;
  text-transform: uppercase;
}

.hero h1 span {
  color: var(--turquoise);
}


/* HERO VIDEO */

.hero-video {
  position: relative;

  width: 100%;
  height: 100vh;

  overflow: hidden;

  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-bg-video {
  position: absolute;

  top: 0;
  left: 0;

  width: 100%;
  height: 100%;

  object-fit: cover;

  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;

  background: rgba(0, 0, 0, .35);

  z-index: 1;
}

.hero-video-content {
  position: relative;

  z-index: 2;

  padding: 20px;

  text-align: center;
  color: var(--white);
}

.hero-video-content h1 {
  margin: 10px 0 20px;

  font-family: "Montserrat", "Segoe UI", sans-serif;

  font-size: clamp(3.5rem, 10vw, 9rem);
  line-height: .9;

  letter-spacing: -.04em;
  font-weight: 900;
}

.hero-video-content p {
  font-size: 1rem;
  letter-spacing: .12em;
}


/* =========================================================
   DOS COLUMNAS
========================================================= */

.two-columns {
  display: grid;

  grid-template-columns: 1.1fr .9fr;

  gap: 8vw;

  align-items: start;
}

.two-columns > p,
.two-columns > div {
  padding-top: 15px;
  font-size: 1.2rem;
}


/* =========================================================
   SECCIONES OSCURAS
========================================================= */

.black-section {
  background: var(--black);
  color: var(--white);
}


/* =========================================================
   TERRITORIOS
========================================================= */

.territory-grid {
  display: grid;

  grid-template-columns: repeat(4, 1fr);

  gap: 1px;

  background: rgba(255, 255, 255, .13);
}

.territory-grid article {
  min-height: 280px;

  padding: 30px;

  background: var(--black);
}

.territory-grid span {
  font-family: "Montserrat", sans-serif;
  font-size: .7rem;

  color: rgba(255, 255, 255, .35);
}

.territory-grid h3 {
  margin-top: 100px;
  margin-bottom: 12px;

  font-size: 1.75rem;
}

.territory-grid p {
  color: rgba(255, 255, 255, .58);
}


/* =========================================================
   SERVICIOS
========================================================= */

.services {
  padding: 90px 6%;

  background: var(--white);
  color: var(--black);
}


/* INTRO SERVICIOS */

.services-intro {
  max-width: 850px;

  margin-bottom: 60px;
}

.services-intro h2 {
  max-width: 850px;

  margin: 0 0 20px;
}

.services-intro > p {
  max-width: 700px;

  margin: 0;

  line-height: 1.6;
}


/* LISTA SERVICIOS */

.service-list {
  width: 100%;

  margin-top: 55px;
}


/* CADA SERVICIO */

.service-item {
  display: block;

  padding: 45px 0;

  border-top: 1px solid rgba(26, 26, 26, .15);
}

.service-item:last-child {
  border-bottom: 1px solid rgba(26, 26, 26, .15);
}


/* NÚMERO + TÍTULO */

.service-name {
  display: block;

  margin-bottom: 22px;
}

.service-name span {
  display: block;

  margin-bottom: 8px;

  font-family: "Montserrat", sans-serif;
  font-size: .7rem;
  font-weight: 800;

  color: var(--coral);
}

.service-name h3 {
  margin: 0;

  font-size: clamp(2.4rem, 5vw, 5rem);
  line-height: .92;

  letter-spacing: -.045em;

  color: var(--black);
}


/* TEXTO SERVICIO */

.service-copy {
  display: block;

  max-width: 800px;

  margin-left: 0;
  padding-left: 0;
}

.service-category {
  margin: 0 0 12px;

  font-family: "Montserrat", sans-serif;
  font-size: .72rem;
  font-weight: 800;

  letter-spacing: .08em;
  text-transform: uppercase;

  color: var(--ocean);
}

.service-copy > p {
  max-width: 700px;

  margin-bottom: 20px;

  line-height: 1.6;

  color: #555;
}


/* ENTREGABLES */

.service-detail {
  display: block;

  margin: 0;

  padding-left: 18px;
}

.service-detail li {
  margin-bottom: 7px;
}


/* =========================================================
   BOOKING / HABLEMOS
========================================================= */

.booking-dark {
  background: var(--black);
  color: var(--white);
}

.booking-dark .label {
  color: var(--turquoise);
}

.booking-dark h2 {
  color: var(--white);
}


/* ENLACE HABLEMOS */

.booking-dark h2 .whatsapp-link,
.booking-dark h2 .whatsapp-link:link,
.booking-dark h2 .whatsapp-link:visited,
.booking-dark h2 .whatsapp-link:hover,
.booking-dark h2 .whatsapp-link:active,
.booking-dark h2 .whatsapp-link:focus {
  color: var(--turquoise) !important;

  background: transparent !important;

  text-decoration: none !important;

  border: 0 !important;
  border-bottom: 0 !important;

  box-shadow: none !important;

  padding: 0;
  margin: 0;

  display: inline;

  font: inherit;
}

.booking-dark p {
  color: rgba(248, 248, 245, .70);
}


/* =========================================================
   HISTORIA DE MARCA
========================================================= */

.brand-story-light {
  background: var(--white);
  color: var(--black);
}

.brand-story-light .label {
  color: var(--ocean);
}

.brand-story-light h2 {
  color: var(--black);
}

.brand-story-light p {
  color: #555;
}


/* =========================================================
   GALERÍA
========================================================= */

.gallery-section {
  padding: 60px 2vw;

  background: var(--black);
}

.gallery-section .label {
  margin-bottom: 20px;

  text-align: center;

  color: var(--turquoise);
}

.gallery-mosaic {
  max-width: 1450px;

  margin: 0 auto;

  display: grid;

  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  grid-auto-flow: dense;

  gap: 4px;
}

.gallery-mosaic img {
  width: 100%;
  height: 100%;

  display: block;

  object-fit: cover;
  object-position: center;

  background: #111;
}

.g-wide {
  grid-column: span 2;
}

.g-portrait {
  grid-row: span 2;
}

.g-big {
  grid-column: span 2;
  grid-row: span 2;
}

.g-feature {
  grid-column: span 3;
  grid-row: span 2;
}

.show-full {
  object-fit: contain !important;
  background: var(--black);
}


/* AJUSTES INDIVIDUALES DE IMAGEN */

img[src="BR0I1564.png"] {
  object-position: center 35%;
}

img[src="BR0I2753.png"] {
  object-position: center 40%;
}

img[src="BR0I2760.png"] {
  object-position: center 35%;
}

img[src="BR0I2994.png"] {
  object-position: center 40%;
}

img[src="BR0I5899.png"] {
  object-position: center 45%;
}

img[src="BR0I4968.png"] {
  object-position: 40% 75%;
}


/* =========================================================
   SOBRE MÍ
========================================================= */

.about-me {
  padding: 100px 7vw;

  background: var(--black);
  color: var(--white);
}

.about-me-grid {
  display: grid;

  grid-template-columns: .85fr 1.15fr;

  gap: 7vw;

  align-items: center;
}

.about-me-image {
  width: 100%;

  display: flex;
  justify-content: center;
  align-items: center;

  background: var(--black);
}

.about-me-image img {
  width: 100%;
  max-width: 550px;
  height: auto;

  display: block;

  object-fit: contain;
  object-position: center;
}

.about-me-content h2 {
  margin-bottom: 16px;

  color: var(--white);
}

.about-me-content h3 {
  margin-bottom: 32px;

  font-family: "Montserrat", sans-serif;

  font-size: 1.15rem;
  line-height: 1.4;

  color: var(--turquoise);
}

.about-me-content p {
  font-size: 1.05rem;
  line-height: 1.7;

  color: rgba(248, 248, 245, .72);

  text-align: justify;
  text-justify: inter-word;
}


/* =========================================================
   PROYECTOS
========================================================= */

.projects {
  padding: 100px 7vw;

  background: var(--white);
  color: var(--black);
}

.projects-head {
  max-width: 1050px;

  margin-bottom: 60px;
}

.projects-head h2 {
  margin-bottom: 0;
}

.projects-grid {
  display: grid;

  grid-template-columns: 1.2fr .75fr 1.1fr;

  gap: 28px;

  align-items: start;
}

.project-card {
  min-width: 0;
}

.project-image {
  position: relative;

  width: 100%;

  overflow: hidden;
}

.project-image img {
  width: 100%;
  height: 460px;

  display: block;

  object-fit: cover;
  object-position: center;
}

.project-card:not(.project-large) .project-image img {
  height: 560px;
}

.project-tag {
  position: absolute;

  top: 16px;
  left: 16px;

  padding: 9px 14px;

  background: var(--white);
  color: var(--black);

  font-family: "Montserrat", sans-serif;

  font-size: .68rem;
  font-weight: 800;

  letter-spacing: .08em;
  text-transform: uppercase;
}

.project-card h3 {
  margin: 20px 0 10px;

  font-size: clamp(2rem, 3.5vw, 4rem);
  line-height: .95;

  letter-spacing: -.04em;
}

.project-card p {
  margin: 0;

  color: #555;

  font-size: .95rem;
  line-height: 1.5;
}


/* =========================================================
   CONTACTO
========================================================= */

.contact {
  text-align: center;
}

.contact-grid {
  margin-top: 45px;

  display: grid;

  grid-template-columns: repeat(5, 1fr);

  gap: 1px;

  background: rgba(26, 26, 26, .14);
}

.contact-grid div {
  min-height: 120px;

  padding: 26px;

  display: flex;
  flex-direction: column;
  justify-content: center;

  background: var(--white);

  text-align: center;
}

.contact-grid span {
  font-size: .8rem;

  color: var(--gray);
}

.contact-grid strong {
  margin-top: 6px;

  font-family: "Montserrat", sans-serif;

  font-size: .95rem;

  color: var(--black);

  word-break: break-word;
}


/* CONTACTO OSCURO */

.contact-dark {
  background: var(--black);
  color: var(--white);
}

.contact-dark .label {
  color: var(--turquoise);
}

.contact-dark h2 {
  color: var(--white);
}

.contact-dark .contact-grid {
  background: rgba(255, 255, 255, .14);
}

.contact-dark .contact-grid div {
  background: var(--black);
}

.contact-dark .contact-grid span {
  color: rgba(248, 248, 245, .50);
}

.contact-dark .contact-grid strong {
  color: var(--white);
}

.contact-dark .contact-grid a {
  text-decoration: none;
}

.contact-dark .contact-grid a:hover strong {
  color: var(--turquoise);
}


/* =========================================================
   PÁRRAFOS
========================================================= */

.intro .two-columns > p,
.territory-grid p,
.brand-story-light .two-columns p {
  text-align: justify;
  text-justify: inter-word;
}


/* =========================================================
   FOOTER
========================================================= */

footer {
  padding: 36px 7vw;

  display: flex;
  justify-content: space-between;

  gap: 25px;

  background: var(--black);
  color: var(--white);
}

footer strong {
  font-family: "Montserrat", sans-serif;

  letter-spacing: .06em;
}

footer span {
  color: var(--turquoise);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 950px) {

  .territory-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .two-columns {
    grid-template-columns: 1fr;
  }

  .gallery-mosaic {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 200px;
  }

  .g-wide,
  .g-big {
    grid-column: span 2;
  }

  .about-me-grid {
    grid-template-columns: 1fr;
  }

  .about-me-image img {
    height: auto;
    max-height: 550px;
  }

  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

  section {
    padding: 72px 6vw;
  }

  h2 {
    font-size: clamp(2.3rem, 11vw, 4rem);
  }


  /* TERRITORIOS */

  .territory-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .territory-grid article {
    min-height: auto;
  }

  .territory-grid h3 {
    margin-top: 42px;
  }


  /* SERVICES */

  .services {
    padding: 60px 20px;
  }

  .services-intro {
    margin-bottom: 40px;
  }

  .service-list {
    margin-top: 40px;
  }

  .service-item {
    padding: 35px 0;
  }

  .service-name {
    margin-bottom: 18px;
  }

  .service-name h3 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .service-copy {
    width: 100%;
    max-width: 100%;
  }


  /* PROJECTS */

  .projects {
    padding: 70px 6vw;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .project-image img,
  .project-card:not(.project-large) .project-image img {
    height: 420px;
  }


  /* ABOUT */

  .about-me {
    padding: 70px 6vw;
  }

  .about-me-image img {
    height: auto;
    max-height: 420px;
  }

  .about-me-content h3 {
    font-size: 1rem;
  }


  /* FOOTER */

  footer {
    flex-direction: column;
  }

}


/* =========================================================
   GALERÍA MÓVIL
========================================================= */

@media (max-width: 600px) {

  .gallery-mosaic {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 160px;
  }

  .g-wide {
    grid-column: span 2;
  }

  .g-portrait {
    grid-row: span 2;
  }

  .g-big,
  .g-feature {
    grid-column: span 2;
    grid-row: span 2;
  }

}

/* =========================================================
   ENLACES DE PROYECTOS
========================================================= */

.project-link,
.project-link:link,
.project-link:visited,
.project-link:hover,
.project-link:active,
.project-link:focus {
  color: var(--black) !important;
  text-decoration: none !important;
  border: none !important;
  box-shadow: none !important;
}

.project-link h4 {
  color: inherit;
  text-decoration: none;
  margin: 20px 0 10px;
}

.project-link:hover h4 {
  color: var(--turquoise);
}