Introduction

Since the Industrial Revolution, anthropic activities have increased atmospheric CO2 concentrations by ~ 40%, from 280 to > 410 ppm (IPCC 2020). This has also increased the concentration of marine CO2 and dissolved inorganic carbon (DIC), increasing bicarbonates (HCO3), and decreasing carbonates (CO32−) and pH in seawater (Orr et al. 2018; Jiang et al. 2019). The extent of ocean acidification (Doney et al. 2009; Hofmann et al. 2019) is mainly controlled by seawater alkalinity, atmospheric CO2 concentration, and CaCO3 precipitation (Wang et al. 2013; Rosentreter and Eyre 2020). However, coastal ecosystems receive freshwaters, nutrients, and organic and inorganic inputs from the continental margins (Borges et al. 2006), causing more variability in the carbonate system than in the open ocean (Wallace et al. 2014; Cai et al. 2021). Thus, to evaluate acidification on continental margins, it is critical to assess the carbonate system variability in coastal ecosystems (Wallace et al. 2014; Doney et al. 2020; Barranco et al. 2022).

In coastal ecosystems, rivers are the primary source of organic and inorganic carbon reaching the continental shelf; this can be natural (e.g., allochthonous organic matter produced by photosynthesis, carbonate weathering) (Cai and Wang 1998; Cai 2003; Gomez et al. 2020) or be anthropogenic (e.g., industrial, agricultural, and urban wastewater) (Smith et al. 1999; Yang et al. 2015; Raymond and Hamilton 2018). Furthermore, riverine freshwaters can cause vertical and horizontal gradients in carbonate system parameters, dissolved oxygen, and salinity (Zopfi et al. 2001; Lee et al. 2015). Seasonality can also promote intra-annual variability of the carbonate system, causing high variability (Carstensen and Duarte 2019; Cai et al. 2021). Unlike the northern Gulf of Mexico (Wang et al. 2013; Gomez et al. 2020), studies of the carbonate system in the coastal ecosystems of the southern Gulf of Mexico (sGoM) are scarce (Osborne et al. 2022).

Karst, a landscape formed by carbonate (limestone, dolomite, marble) and evaporite rocks (gypsum, anhydrite, rock salt), covers up to 10% of the surface of Earth (Taminskas et al. 2006). The elevated CO2 in the water column can increase the dissolution of carbonate, raising the HCO3 in the aquatic ecosystems (Eq. (1)) (Zhong et al. 2017; Han et al. 2018). Hence, karst aquatic ecosystems have higher total alkalinity (TA) and DIC (> 2500 μmol kg−1) than marine waters (McGrath et al. 2019; Hu et al. 2022), increasing the inorganic carbon budgets in the coastal areas (Liu et al. 2019; Volta et al. 2020). Thus, evaluating the inorganic carbon system in coastal karst ecosystems is important.

$${\text{CaCO}}_{3}+ {\text{CO}}_{2}+{\text{H}}_{2}\text{O} \rightleftarrows \text{ C}{\text{a}}^{2+}+ 2{\text{HCO}}_{3}^{-}$$
(1)

The Yucatan Peninsula, bordered by the sGoM and the Caribbean Sea, is a large karstic platform (165,000 km2) (Bautista et al. 2011). The aquifer has intricate fractures, caves, and sinkholes (locally known as cenotes) (Perry et al. 2002). At the end of the Cretaceous period, a prominent asteroid hit the Yucatan Peninsula (Hildebrand et al. 1991), forming a circular alignment of karst sinkholes now named the Chicxulub ring of cenotes. This has caused a complex groundwater flow system and seawater intrusion, which reaches dozens of kilometers inland (Perry et al. 2002; Bauer-Gottwein et al. 2011). This groundwater system can export high DIC and TA waters (Gonneea et al. 2014) in the coastal area, causing DIC enrichment in the marine water column (Pain et al. 2020).

On the Yucatan Shelf, the carbonate system is driven by the interplay between oceanic water masses, influenced by the Yucatan upwelling (Merino 1997), and continental runoff, which are modulated by seasonal variations (Barranco et al. 2022). Due to the high TA and DIC values in the aquifer, their knowledge is fundamental to evaluating their influence on coastal lagoons and estuaries of the sGoM.

Terminos Lagoon (TL) is Mexico’s most extensive tropical estuarine-lagoon system, connected with the sGoM through the Carmen and Puerto Real inlets (Yáñez-Arancibia & Day 1982). Because of its high biodiversity, the lagoon is classified as a Ramsar site (Ramsar 2004) and a Mexican Protected Area of Flora and Fauna (CONANP 1994). However, it is under high environmental pressure because of the impacts of the oil industry, land use change (Escobar-Toledo et al. 2017; Grenz et al. 2017), and untreated urban wastewater discharges from Ciudad del Carmen (191,238 pop.) (INEGI 2020). It receives freshwaters from (i) the Palizada River (70%), the main tributary of the Grijalva-Usumacinta River, the most extensive Mexican riverine system and the second-largest fluvial system of the GoM after the Mississippi-Atchafalaya river system (F. Vazquez et al. 2000; Fuentes-Yaco et al. 2001), and (ii) the Candelaria River (20%), also a karstic basin (Hudson et al. 2005; Álvarez-Pliego et al. 2015). This complexity of natural and anthropogenic influents may affect the lagoon’s carbonate system, driving changes in the acidification of adjacent coastal zones and the sGoM.

In the present work, we evaluated the spatial and seasonal variation of the carbonate system, including DIC, TA, pH, partial CO2 pressure (pCO2), aragonite saturation (ΩAr), and [TA-DIC] from the Palizada and Candelaria rivers towards the coastal zone, during the rainy and dry seasons. The methodology and results of this work could contribute to understanding the inorganic carbon cycle in tropical estuarine systems, rivers, and karstic groundwaters worldwide and contribute to the knowledge of the impacts of coastal acidification in the sGoM.

Material and Methods

Study Area

Terminos Lagoon is in Campeche Bay (18°01′54″N, 90°59′15″W), has a 70 km length, 40 km maximum width, a surface area of 2500 km2, and 3.0–3.5 m average depth (Medina-Gómez et al. 2015). The lagoon has a tropical island barrier system (Carmen Island), which has dry (March–May), rainy (June–October), and frontal winter storm (locally known as Nortes) seasons (November–February). Average evaporation is 1512 mm yr−1, average precipitation is 1805 mm yr−1, and the annual temperature ranges from 20 to 29 °C (David and Kjerfve 1998). The lagoon is subject to diurnal and semi-diurnal tidal regimes, and the residual circulation produces a net inflow of sGoM waters through the Puerto Real inlet and an outflow through the Carmen inlet (Ocaña and Lot 1996; Contreras Ruiz Esparza et al. 2014; Grenz et al. 2017). The lagoon receives 12.5 × 109 m3 yr−1 of freshwater (Vazquez et al. 1999) from river discharge (95.42%), precipitation (4.55%), and groundwater (0.03%) (Herrera-Silveira et al. 2019). The Palizada (mean flow rate: 288 m3 s−1), Candelaria (72 m3 s−1), and Chumpan rivers (18 m3 s−1) are the main tributaries (Hudson et al. 2005; Medina-Gómez et al. 2015), with highest flow-rates in the rainy season (Cardoso-Mohedano et al. 2020).

Sampling

We sampled TL waters along two transects from the Palizada and Candelaria rivers to the coastal zone (Fig. 1, Table A1) during the dry (February 2020, March 2021) and rainy (November 2021) seasons. Each transect had nine stations, where we collected surface (0.5 m below the surface) and bottom (0.5 m above the bottom) water samples with a horizontal Van Dorn bottle.

Fig. 1
figure 1

Site map of Terminos Lagoon (southern Gulf of Mexico) includes sampling stations for Palizada and Candelaria estuaries and the studied areas: River (green), Estuarine (orange), and Coast (blue) areas. (For interpretation of the references to color in this Fig., the reader is referred to the web version of this article)

To prevent CO2 losses, we filled borosilicate glasses using a tube draining to the bottom of the glass, overflowing three times their volume. To minimize gas exchange with the atmosphere, we preserved the unfiltered water samples with mercuric chloride and sealed the glass with rubber and aluminum seals. The samples were then conserved in both light and darkness at a temperature of − 4 °C (Dickson et al. 2007). We measured in situ temperature (± 0.01 °C) and salinity (± 0.1) with a pre-calibrated EXO2 multiparameter sonde (YSI, 2020).

Carbonate System Analysis

In each water sample, we determined TA by a modified potentiometric titration method with a combined pH electrode, using 0.1 M HCl, in a custom-built closed cell (Hernández-Ayón et al. 1999). DIC was determined by coulometry (Johnson et al. 1987; CM5014, UIC, Joliet, USA). A Certified Reference Material (A. Dickson, Scripps, UCSD) was used for the DIC and TA measurements for a precision and accuracy of ± 3 μmol kg−1. With TA, DIC, salinity, and temperature values, we calculated pH using the total pH scale, pCO2, and ΩAr, with the PyCO2SYS 2.0 program (Humphreys et al. 2022), and using (Millero 2010) equations, which are valid in the ranges of 0 < temperature < 50 °C and 1 < salinity < 50.

In seawater, [TA–DIC] = [CO32−] – [CO2] + Borate alkalinity. This parameter is conservative (independent of temperature and pressure), and it assists in evaluating processes such as mixing, biogeochemical reactions, and ocean acidification (Xue et al. 2018; Xue and Cai 2020). Thus, we calculated the apparent oxygen consumption (AOU) as the saturated oxygen concentration (McDougall and Barker 2011) minus the observed dissolved oxygen concentration. These calculations can be used as indicators for carbonate biogeochemical processes (PyCO2SYS and Jupyter scripts, and raw data are included in the Supplementary Information).

Statistical Analyses

To evaluate the influence of Palizada and Candelaria rivers on the TL carbon system, we grouped the sampling stations into areas named (i) River, in the river courses, (ii) Estuarine, lagoon waters likely affected by river discharges, and (iii) Coast, near the lagoon inlets (Fig. 1, Table A1). The significance level for all analyses was set to p < 0.05. Since the variables did not show normal distributions (Shapiro–Wilk’s test), we used Kruskal–Wallis and the post hoc Dun tests to evaluate differences between areas (River, Coast, and Estuarine) and Mann–Whitney tests to evaluate differences between seasons (dry and rainy), transects (Palizada and Candelaria) and depth (surface and bottom samples). For statistical analyses, we used the Python SciPy package 1.0 (Virtanen et al. 2020). To study the mixing process in the lagoon, we performed linear regressions using Ordinary Least Squares (OLS) regression with the Python statsmodels package 0.13.5 (Seabold and Perktold 2010).

Results

Salinity

During the dry season, the Candelaria Coast samples showed the most extensive salinity range (26.0–38.8). During the rainy season, the lowest ranges were in the Candelaria (0.4–7.6) and Palizada River samples (0.0–0.3; Table 1). Salinity differed significantly for the dry and the rainy season throughout the study area. Salinity showed significant differences between areas, with an increased (positive) gradient from River to Coast samples. Analysis post hoc indicated differences among the River, Coast, and Estuarine areas (Table 2). During the dry season, the Candelaria River stations showed a higher salinity variability (12 ± 11) than the Palizada River (0.7 ± 0.8), caused by the intrusion of saline waters only into the Candelaria River (Fig. 2a, b). As expected, salinity in the Candelaria transect was significantly higher than in the Palizada (Table 2) because the Palizada flow is four times larger.

Table 1 Mean ± standard deviation (min–max) for salinity (S), pH, total alkalinity (TA) µmol kg−1, dissolved inorganic carbon (DIC) µmol kg−1, partial pressure of CO2 (pCO2) µatm and aragonite saturation (ΩAr) values in the study areas during the rainy and dry seasons
Table 2 Comparison of salinity and carbonate system variables between sampling areas (River, Estuarine, and Coast), transects (Candelaria and Palizada), and seasons (dry and rainy)
Fig. 2
figure 2

Salinity, TA, and DIC concentrations for the Candelaria and Palizada transects by studied areas (River, Estuarine, and Coast) during the rainy and dry seasons. The boxes represent the interquartile range, the horizontal line within the boxes is the median, and the whiskers are the maximum and minimum values. Black dots represent the outliers. Terminos Lagoon, southern Gulf of Mexico

TA

The highest TA range was observed in the Candelaria River area during the dry season (3685–4307 µmol kg−1) and the lowest in the Palizada Estuarine and Coast areas (2357–2376 µmol kg−1) during the rainy season (Table 1). TA during the dry season was significantly higher than during the rainy season throughout the study area. In both seasons, TA decreased along a gradient from the River to the Coast areas, showing significant differences. Analysis post hoc indicated that the River area differed significantly from both the Estuarine and Coast areas. The Estuarine samples did not differ from the Coast ones (Fig. 2c, d, Table 2). No significant differences were found between the Candelaria and Palizada transects. The OLS regression between Salinity and TA showed a weak relationship, although the result was statistically significant (p-value = 9.09 × 10−5, r2 = 0.134; see Table A2, Fig. A1).

DIC

Similarly to TA, the highest DIC range (3667–4324 µmol kg−1) was observed in the Candelaria River area during the dry season, and the lowest (2152–2258 µmol kg−1) in the Candelaria Coast area during the rainy season (Table 1). The DIC values were significantly higher during the dry season than in the rainy season. In both seasons, the DIC decreased from the River to the Coast areas, showing significant differences. Analysis post hoc analysis indicated significant differences between the River, Coast, and Estuarine areas (Fig. 2e, f, Table 2). No significant differences were found between the Candelaria and Palizada transects. Between salinity and DIC a relationship, although moderate, was statistically significant (OLS regression, p-value = 4.7 × 10−10, r2 = 0.316; see Table A3, Fig. A2). Between TA and DIC there was a strong and significant relationship (OLS regression, p-value = 7.3 × 10−58, r2 = 0.924, Fig. 5; see Table A4).

AOU

Palizada and Candelaria’s transects had the lowest (negative) AOU values during the dry season. However, the Palizada River area showed positive AOU values (Fig. 3a, b). This suggests that most of the lagoon’s primary productivity during the dry season increases water column DO. In contrast, in the Palizada River Area, dissolved oxygen consumption may occur due to the oxidation of organic matter caused by runoff. During the rainy season, the AOU values were consistently positive in the area, particularly in the Palizada River and Estuarine areas, causing the AOU values to be significantly higher than during the dry season (Table 2). This suggests that TL receives organic matter from river runoff, significantly increasing oxygen consumption during the rainy season.

Fig. 3
figure 3

AOU and [TA-DIC] concentrations for the Candelaria and Palizada transects by studied areas (River, Estuarine, and Coast) during the rainy and dry seasons. Terminos Lagoon, southern Gulf of Mexico

pCO2

The largest pCO2 range (4805–8129 µatm) was recorded in the Palizada River area during the rainy season, and the lowest (518–596 µatm) in the Candelaria Estuarine area during the dry season (Table 1), with significant differences between transects. No significant differences were found between seasons. The pCO2 decreased from the River to the Coast areas, showing significative differences between them. Analysis post hoc indicated that the River area showed significant differences from Estuarine and Coast areas, which did not differ between them (Fig. 4a, b, Table 2).

Fig. 4
figure 4

pCO2, pH, and ΩAr calculations result for the Candelaria and Palizada transects by studied areas (River, Estuarine, and Coast) during the rainy and dry seasons. Terminos Lagoon, southern Gulf of Mexico

pH

The lowest pH range (7.3–7.5) was found in the Palizada River and Estuarine areas during the rainy season, and the highest range (8.0–8.5) was observed in the Palizada and Candelaria River and Estuarine areas during the dry season (Table 1). pH during the rainy season was significantly lower than during the dry one, and in the Palizada transect was significantly lower than in the Candelaria one. pH showed significant differences between areas. Analysis post hoc analysis revealed that the River areas showed significant differences from Estuarine and Coastal areas, which did not differ between them (Table 2, Fig. 4c, d).

ΩAr

ΩAr was supersaturated (ΩAr > 1) in the Coast and Estuarine areas of both transects during both seasons and in the Candelaria River during the dry season. ΩAr was undersaturated (ΩAr < 1) in the Palizada River area during both seasons and in the Candelaria River during the rainy season. The highest ΩAr range (3.5–5.2) was in the Candelaria River and Estuarine areas during the dry season, and the lowest range (0.00–0.03) was in the Palizada River area during the rainy season (Table 1). The ΩAr was significantly higher during the dry season than during the rainy season in the entire region. In the Candelaria transect, ΩAr was significantly higher than in the Palizada one (Table 2). ΩAr increased from the Rivers to the Coast areas. Analysis post hoc indicated that the River area differed significantly between the Estuarine and the Coast areas, but the Estuarine samples did not differ from the Coast ones (Fig. 4e, f, Table 2).

[TA-DIC]

The highest levels of [TA-DIC] were observed in the Candelaria River area during the dry season, while the lowest levels were recorded in the Palizada River area during the rainy season. Throughout the study area, [TA-DIC] levels were significantly lower during the rainy season than during the dry season. [TA-DIC] values in the Candelaria transect were significantly higher than in the Palizada transect. Analysis post hoc indicated that the River area differed significantly from the Estuarine and the Coast, which did not differ among them (Fig. 3c, d, Table 2).

Discussion

Terminos Lagoon Carbonate System

TA and DIC did not reveal a perfect conservative behavior with salinity (Figs. A1, A2), presumably owing to the complexity of this lagoon-estuarine system and its exchanges with marine and terrestrial sources. However, the correlation between TA and DIC in the whole area was significant (Fig. 5; r2 = 0.924, p < 0.05; Table A4). It appears that the TL inorganic carbon system in this lagoon is primarily influenced by the equilibrium of the carbonate system, despite the possible existence of various carbon sources and potential disturbances from unfiltered materials in the water samples, such as organic matter or resuspended carbonate sediments.

Fig. 5
figure 5

Scatterplot and linear regression of DIC vs TA concentrations. Terminos Lagoon, southern Gulf of Mexico

Averaged over space and time, TL was 2885 ± 460 µmol kg−1 TA and DIC 2808 ± 506 µmol kg−1, higher than on the Yucatan Shelf (2388 ± 11 µmol kg−1 TA, 2047 ± 16 µmol kg−1 DIC (Barranco et al. 2022)) but lower than for the Yucatan karst aquifer (3000–8000 μmol kg−1 TA; Gonneea et al. 2014, 5900-–8000 μmol kg−1 DIC; Pain et al. 2020). Although the lagoon receives marine waters from the sGoM, it is clearly affected by karst waters.

During the dry season, TA (3067 ± 456 µmol kg−1) and DIC (2957 ± 527 µmol kg−1) were significantly higher than during the rainy season (TA 2503 ± 154 µmol kg−1, DIC 2496 ± 262 µmol kg−1), indicating that TL receives predominantly karst waters during the dry season (Fig. 2c–f). On the contrary, during the rainy season, freshwater inputs seem to reduce the lagoon karstic conditions because, although surface waters receive TIC and DIC-enriched waters (Fig. 6), freshwater inputs reduce these concentrations (Guo et al. 2008; Akhtar et al. 2021). pCO2 tended to be higher during the rainy (2607 ± 2366 µatm) than during the dry season (1596 ± 1178 µatm, Fig. 3a, b, 6). During the dry season, [TA-DIC] values were significantly reduced, reaching negative values, mainly in the river areas (Fig. 3c, d). In these conditions, the AOU values showed positive values, indicating high oxygen consumption (Fig. 3a, b). River basins can receive high amounts of organic matter, which increases dissolved CO2 when oxidized, causing a higher concentration of pCO2 in estuarine ecosystems than the adjacent marine waters (Cai 2003; Gaspar et al. 2018; Abril et al. 2021), which can be enhanced during the rainy season owing to increased runoff (Sarma et al. 2012; Dutta et al. 2019).

Fig. 6
figure 6

DIC vs TA, salinity, pCO2, pH, and ΩAr during dry and rainy seasons. Terminos Lagoon, southern Gulf of Mexico

Our study suggests that river runoff increases the organic matter in the water column during the rainy season in TL. This organic matter is oxidized, reducing the water’s dissolved oxygen. As a result, CO2 inputs from rivers, likely due to the degradation of organic matter, increase, causing a significant pH decrease from 7.9 ± 0.2 during the dry season to 7.7 ± 0.2 during the rainy season (Fig. 4c, d).

This pH decrease seems to lead to a reduction in ΩAr, which drops from 2.4 ± 2.5 during the dry season to 1.5 ± 2.5 during the rainy season (Fig. 4e, f) throughout the study area. However, during the rainy season, the ΩAr presented values less than one in river areas. Aragonite saturation is calculated using the following equation (Mucci 1983):

$${\Omega }_{ar}=\frac{[{Ca}^{2+}][{CO}_{2}^{2-}]}{{K}_{sp}}$$

where, \([{Ca}^{2+}]\) is the calcium concentration determined in CO2sys (Lewis and Wallace 1998) according to a linear relationship with salinity (Culkin 1965; Takahashi et al. 1982). Indeed, we observe a significant linear relationship between salinity and ΩAr for salinities below 25 (Fig. A3, r2 = 0.716), but the intercept (0.265 ± 0.001) is not zero, as expected for karstic freshwaters. This result highlights the limitations of the conventional method of calculating aragonite saturation in karst estuaries.

To explore the possible effects of river waters on the TL carbonate system, we defined three types of waters according to their salinity range: river (0–1), estuarine (1–15), and coastal (15–39) waters. The relationship between [TA-DIC] and pH for each water type indicates that river waters show significant linear relationships (p = 4.7 × 10−19, r2 = 0.955). The lowest values of [TA-DIC] were in the river waters, suggesting higher CO2 concentrations, leading to the lowest pH values in the study area (Figs. 7 and 8). [TA–DIC] and pH in estuarine and coastal waters also showed significant relationships (p = 1.8 × 10−9, r2 = 0.857; p = 4.2 × 10−19, r2 = 0.794, respectively). In these waters, [TA-DIC] were predominantly positive, indicating high [CO32−] inputs to the lagoon, and a high calcium concentration is expected since the TL is a karst ecosystem. Hence, despite the potential presence of multiple carbon sources and possible perturbations from unfiltered materials, such as organic matter or resuspended carbonate particles, the TL inorganic carbon system appears mainly driven by the carbonate system equilibrium.

Fig. 7
figure 7

Relationship between [TA-DIC] and pH and TA across Different Salinity Ranges. Terminos Lagoon, southern Gulf of Mexico

Fig. 8
figure 8

Scatterplot of salinity vs [TA-DIC]. The color bar indicates pH. Terminos Lagoon, southern Gulf of Mexico

Estuarine Carbonate Variations

During the dry season, when freshwaters discharge is lowest, the innermost stations of the Candelaria River area (CDL01-02) had the highest TA (3685–4307 μmol kg−1) and DIC (3667–4324 μmol kg−1), and also showed seawater intrusion (salinity range: 0.7–28.1). High TA and DIC could be caused by (i) karstic groundwater discharge enriched in TA and DIC (Liu et al. 2019), (ii) seawater intrusion, which can increase the water residence time that facilitates the dissolution of carbonates, and (iii) high temperatures, which raise evaporation, leading to higher concentrations of TA and DIC.

Similarly, during the dry season, the stations under the influence of the Palizada River (PLZ01-04) had high TA (3495–3512 μmol kg−1) and DIC (3578–3636 μmol kg−1), also indicating the influence of karst waters. However, TA and DIC were higher at the Candelaria than at the Palizada estuary (Fig. 2c–f). On the one hand, the Palizada River receives more freshwaters that dissolves the carbonate species water concentrations and, on the other hand, the Candelaria basin is closer to the Yucatan Peninsula (Ramos 1975; Gunn et al. 1995), receiving more karstic waters enriched in TA and DIC. Thus, the differences in carbonate species concentrations between the rivers may be caused by the relative amounts of freshwaters and karstic waters they receive. Hence, the river flow seasonality is crucial in controlling the TL carbonate system.

During the rainy season, the Palizada River had dissolved oxygen depletion conditions (AOU positively values) and consistently negative [TA-DIC] (Fig. 3), suggesting that runoff increases CO2 concentrations in the river waters, causing the highest pCO2 levels (6040–8129 µatm) in the studied area. These levels are higher than those of the Mississippi-Atchafalaya system in the Gulf of Mexico (370–2000 µatm; Cai 2003) and other rivers worldwide (200 to 4000 µatm; Cole et al. 2007; Raymond et al. 2013; Araujo et al. 2019). Rivers with pCO2 values exceeding 3000 µatm generally have elevated organic matter concentrations (Reyes and Merino 1991; Araujo et al. 2019). Tropical soils have high organic matter concentrations that produce CO2 when oxidized. In contact with moisture, organic matter creates H2CO3 that dissolves carbonate rocks in the epikarst zone. This leads to slow percolation flows through cracks and fissures to the phreatic area, causing oversaturation, CaCO3 precipitation, and CO2 release into caves and fractures (Class et al. 2021; Jaqueto et al. 2021). During the rainy season, the Grijalva-Usumacinta River basin’s high rainfall (Cardoso-Mohedano et al. 2022) may release accumulated CO2 from the aquifer into the river basin. The sum of lithogenic and organic CO2 could explain high pCO2 concentrations in the Palizada River. The higher CO2 levels in the Palizada River area decrease the pH during both seasons (pH 7.8 ± 0.3 dry season, 7.39 ± 0.09 rainy season).

On the other hand, the Candelaria River area had the highest [TA-DIC] values during the dry season. In these conditions, the dissolved oxygen levels do not indicate respiration or photosynthesis processes (AOU values are close to zero). This suggests a high CO32− input in the Candelaria River area, possibly due to the dissolution of CaCO3 (Xue and Cai 2020) from carbonate rocks. This confirms that the Candelaria River had more karstic conditions than the Palizada River.

Resilience of Terminos Lagoon to Coastal Acidification

Biota of estuarine ecosystems is adapted to salinity and pH river-coast gradients (Sosa-López et al. 2006; García-Ríos et al. 2013; Grenz et al. 2017), and in TL the foraminifera assemblages follow the lagoon circulation and the river’s plume distribution (Phleger and Ayala 1971). Although TL had saturated conditions, a pH decrease on the continental shelf caused by ocean acidification (Orr et al. 2005; Hoegh-Guldberg et al. 2007) added to other anthropogenic impacts on the lagoon (Queb-Suarez et al. 2022; Celis-Hernandez et al. 2023; Jupin et al. 2023), could stress the TL ecosystem (Vinebrooke et al. 2004; Grenier et al. 2020; Kibria et al. 2021).

The Palizada and Candelaria rivers presented the highest pCO2 levels. So, in an increased atmospheric CO2 scenario, the pH of river waters could remain relatively stable. In contrast, the coastal areas presented lower pCO2 levels, so increased atmospheric CO2 can significantly reduce pH in coastal regions. This process could reduce the river-coastal pH gradient in the TL estuaries, thereby causing the displacement of organisms towards the coast, where salinity is higher. This could limit organisms’ potential habitat and osmoregulatory capacity to estuaries’ extreme pH and salinity conditions (Freitas et al. 2017; Liu et al. 2024). Urban discharges from Ciudad del Carmen could further restrict the organisms’ habitat to the northwestern TL, increasing their vulnerability. Thus, decreasing untreated wastewater discharges from Ciudad del Carmen to the aquatic ecosystems could help improve the TL’s resilience to coastal acidification.

Our results indicate that river freshwaters raise CO2 water concentrations, thereby reducing pH values, mainly in the Palizada River area. Although TL had supersaturated ΩAr throughout the lagoon, the Palizada estuary and its coastal zone of influence can be the most vulnerable TL area to acidification effects. During the rainy season, rivers increase the CO2 discharge to the coastal zone. Furthermore, industrial activities and urban wastewater increase organic matter in the sGoM rivers (Herrera-Silveira et al. 2019; Machain-Castillo et al. 2020; Cardoso-Mohedano et al. 2022) that, when oxidized, can increase CO2 concentration in the water, contributing to coastal acidification. Our results indicate that, when receiving high CO2 loads from natural or anthropic sources, karst estuaries can displace the carbonate system’s equilibrium, increasing the CO2 concentration in the water column. Considering sea level rise acceleration in the Yucatan Peninsula (Carnero-Bravo et al. 2016; Ruiz-Fernández et al. 2020), which can increase marine intrusion into karst aquifers (Liu et al. 2019), added to an increased amount of anthropogenic organic matter inputs (Moreno-Pérez et al. 2021; Cohuo et al. 2023), the flow of carbon from the Yucatan Peninsula to the sGoM may increase, thus enhancing ocean acidification. Implementing management programs that decrease organic matter and nutrient concentrations in rivers and aquifers that discharge to the coastal zone can help to increase the sGoM resilience to ocean and coastal acidification.

In summary, the results indicate that the equilibrium of the carbonate system drives the Terminos Lagoon inorganic carbon system, which is influenced by karst and river water inflows. During the dry season, the lagoon receives mainly karst waters, resulting in higher concentrations of TA and DIC. Freshwater inputs reduce these concentrations during the rainy season and decrease the lagoon’s karstic conditions. The rainy season also brings increased CO2 inputs from rivers, lowering pH in the Palizada River-influenced area. The results of this work contribute towards a dissolved inorganic carbon variability baseline in the sGoM coastal ecosystems and can be helpful to Terminos Lagoon decision-makers.